[gnutls-devel] GnuTLS | WIP: Signed PKCS#12 support (!830)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Sun Dec 30 09:56:40 CET 2018
Raw data is attached to MR (see the link two messages above). Here comes asn1parse -i:
```
0:d=0 hl=4 l=3541 cons: SEQUENCE
4:d=1 hl=2 l= 1 prim: INTEGER :03
7:d=1 hl=4 l=3534 cons: SEQUENCE
11:d=2 hl=2 l= 9 prim: OBJECT :pkcs7-signedData
22:d=2 hl=4 l=3519 cons: cont [ 0 ]
26:d=3 hl=4 l=3515 cons: SEQUENCE
30:d=4 hl=2 l= 1 prim: INTEGER :01
33:d=4 hl=2 l= 15 cons: SET
35:d=5 hl=2 l= 13 cons: SEQUENCE
37:d=6 hl=2 l= 9 prim: OBJECT :sha256
48:d=6 hl=2 l= 0 prim: NULL
50:d=4 hl=4 l=2178 cons: SEQUENCE
54:d=5 hl=2 l= 9 prim: OBJECT :pkcs7-data
65:d=5 hl=4 l=2163 cons: cont [ 0 ]
69:d=6 hl=4 l=2159 cons: OCTET STRING
73:d=7 hl=4 l=2155 prim: OCTET STRING [HEX DUMP]:308208673082086306092A864886F70D010701A0820854048208503082084C308204D3060B2A864886F70D010C0A0101A08204C2308204BE020100300D06092A864886F70D0101010500048204A8308204A40201000282010100E2A1270AE17166A4C433FF1C61C698C5EC53EBE7C01DA9F9FDE18214E7B56318B406346E0E8A1604F5FBD7E86658AFCC2AB2A9593A40DD90DE5AB411D9621C69FFF2A5DE830041165B39508016291148FFA3B73290DC08BD945E53D25709B66ED0499E657CC19B5988716611764D7B51D9DE211524537EFDC1525C2972A5819B31F37F7950D78E324D751B941A1F301A7D0D658C4281FF1DB10E0C05C4D68AA5222ADCB405AB43F1A18B7F3C124331F5128964F970587515D2884D7433C6722D8459FE3552A270058145A499091431712857E8A1E94352E6934FFB42809C0CE0265527D401A065DB0F1B6299E86C5492B726344491C1A8DB674D5DC9A271801F02030100010282010100D30ED5F7722154405A613A52CA5453EEEFBAF056323AEE13DD76E8D8633A3001CF967FB9875CDE48DC75208C54D47F541AE7AC83669706416672FE8428F910113FC650E73B053F987C789219D7898389825A8BC051DC395FA50F7BECC6164B8A43FC6BC1844022576D947E4400F303C824A89412C673E42E9A9E032AAE94A86F890DA5AB66717825C8FA266F51140F4D29BCEBEB330A5C20CEBDAE5BA35294D28A79E2C73082DE7789ABC1B3CE77286EB67AAF57BF465181F7C987736C46DBC3918E6ADEFBFB13CBB77DDC7CB08BEE98399460EB284A26BBA5757792A604E86FD0AF2018F29FC4FAE97941B99F5AB9F24FF6A2E0A2C8068A5A95683969A76F3102818100FD4CC0199D8DF1813E902F39365D304287FE5959BE4540ECBFA0B72F6BCF521B771B09DBC524CC978F8D8B16C2586E3AB9D561B0CDB1ED9CD8635781ECBB670678EF5D94D8538C2A66D191FFE5F6470E68BBEA169B5EBF3A0704B858CFDB3A50B6BF6BFDBA4A872055F887529E09CBCB4D11B9E28650BEA7BED79C464944850D02818100E50B9E93E735DAA32DAE6839CE71CF402EEEBA279947350BF634E542DB993399B807701F07F37FD2A2104B4E8F1D2D628DE1D0F52C44986EF6C1E6A65180B448F8BC1B1262A05CDA2440D58ADD116B7F207F409742F7184F45C3D42C18FE6FA30D70D62F92F508222BEB40333633375847C63B854768DB28BD52E7D45BF2E6DB02818100E19384504B9BA943AC6FC35E7427B15ECEB598E4EF29C5941164133F4C07A9DB83CAB490DF94D20EF76CDA3D3E7E7A4C1A4B0960E70E59C9A07B77E6E0E853EBD3AF77EBA26B651C2DCCDCF4C3DAFB94BD78FC137DF276E23A75DDA65A15A66D53124E1DFBD57B5934B6CBECAB8995D04BA649A08E7542152943E28C459B9BD10281806915AFA7C4089D4B08866023456849E1F4A66A9A0864F71D89D432EB3DBD48435A7F6F1D8D94562CD9560876FE8A306C6B1413BEA894C02B08E3656321399F7D6B41425A690D920C335DDB9B5E59C3AC0BC8D6658FBFB653887A9439B72DE52235E4732058983B27126758892670D10F9BBE83485EBEE8EE040EA97670C93CC90281805E6BA23FA5F7495FC089ABE95D4D268DC9E550A2F704D3E71F5E9CF63D59171F4B2463A94EC95B2EA1D02F89ABE018031AE44158D0BAFD403A13BC52173A6A6339140FA07E0E4728A3E7C2E39EEEBEC1E3C2C517C7918D846D1E6AD052B158D231FA3BEB75D9D11023EEEA13E49F7D449CB195824445FB41810AFEDBB39EFFD430820371060B2A864886F70D010C0A0103A08203603082035C060A2A864886F70D01091601A082034C04820348308203443082022EA003020102020101300B06092A864886F70D01010B303831363009060355040613025553302906035504031E220050006500630075006C006900610072002000560065006E00740075007200650073301E170D3133303133313231303030305A170D3136303133313231303030305A303831363009060355040613025553302906035504031E220050006500630075006C006900610072002000560065006E0074007500720065007330820122300D06092A864886F70D01010105000382010F003082010A0282010100E2A1270AE17166A4C433FF1C61C698C5EC53EBE7C01DA9F9FDE18214E7B56318B406346E0E8A1604F5FBD7E86658AFCC2AB2A9593A40DD90DE5AB411D9621C69FFF2A5DE830041165B39508016291148FFA3B73290DC08BD945E53D25709B66ED0499E657CC19B5988716611764D7B51D9DE211524537EFDC1525C2972A5819B31F37F7950D78E324D751B941A1F301A7D0D658C4281FF1DB10E0C05C4D68AA5222ADCB405AB43F1A18B7F3C124331F5128964F970587515D2884D7433C6722D8459FE3552A270058145A499091431712857E8A1E94352E6934FFB42809C0CE0265527D401A065DB0F1B6299E86C5492B726344491C1A8DB674D5DC9A271801F0203010001A35D305B300C0603551D13040530030101FF300B0603551D0F0404030200FF301D0603551D0E04160414E50980E94F7AD172F84882364848427318A3D096301F0603551D23041830168014E50980E94F7AD172F84882364848427318A3D096300B06092A864886F70D01010B03820101002291096CDCB858F2B610099FBC8D7ADD6914D8DCBE49DD2DB1CE80287E412740DCCD30295A5AB65B63F290FA01B6E4C205C0F396667FEE614281DA3D321D344C3C4029FEFE706B04AA3360647679063F8AF912DC7DA5EDE6A20DB135406A49EA2934DB68ED0815D28D72607B6E30A421340CDC141D421B3DB9FA55EFF15BAE5353E860DAD38E2A6B9232C380FBAB357523521F40665D3AF826A4A1EEF92C492E6992AE05020C34B24570CD9948AFD0000688D04D43A2F72C09CB56F31FFA424E5F63036ED2370876783D7732985F2B73579DFE386C5D2B99A5772041932BD3ADB3BC6D6C184F773EC1E07586E369827A511C928CCF9C558F46DB7671E2AFAB9C
2232:d=4 hl=4 l= 840 cons: cont [ 0 ]
2236:d=5 hl=4 l= 836 cons: SEQUENCE
2240:d=6 hl=4 l= 558 cons: SEQUENCE
2244:d=7 hl=2 l= 3 cons: cont [ 0 ]
2246:d=8 hl=2 l= 1 prim: INTEGER :02
2249:d=7 hl=2 l= 1 prim: INTEGER :01
2252:d=7 hl=2 l= 11 cons: SEQUENCE
2254:d=8 hl=2 l= 9 prim: OBJECT :sha256WithRSAEncryption
2265:d=7 hl=2 l= 56 cons: SEQUENCE
2267:d=8 hl=2 l= 54 cons: SET
2269:d=9 hl=2 l= 9 cons: SEQUENCE
2271:d=10 hl=2 l= 3 prim: OBJECT :countryName
2276:d=10 hl=2 l= 2 prim: PRINTABLESTRING :US
2280:d=9 hl=2 l= 41 cons: SEQUENCE
2282:d=10 hl=2 l= 3 prim: OBJECT :commonName
2287:d=10 hl=2 l= 34 prim: BMPSTRING
2323:d=7 hl=2 l= 30 cons: SEQUENCE
2325:d=8 hl=2 l= 13 prim: UTCTIME :130131210000Z
2340:d=8 hl=2 l= 13 prim: UTCTIME :160131210000Z
2355:d=7 hl=2 l= 56 cons: SEQUENCE
2357:d=8 hl=2 l= 54 cons: SET
2359:d=9 hl=2 l= 9 cons: SEQUENCE
2361:d=10 hl=2 l= 3 prim: OBJECT :countryName
2366:d=10 hl=2 l= 2 prim: PRINTABLESTRING :US
2370:d=9 hl=2 l= 41 cons: SEQUENCE
2372:d=10 hl=2 l= 3 prim: OBJECT :commonName
2377:d=10 hl=2 l= 34 prim: BMPSTRING
2413:d=7 hl=4 l= 290 cons: SEQUENCE
2417:d=8 hl=2 l= 13 cons: SEQUENCE
2419:d=9 hl=2 l= 9 prim: OBJECT :rsaEncryption
2430:d=9 hl=2 l= 0 prim: NULL
2432:d=8 hl=4 l= 271 prim: BIT STRING
2707:d=7 hl=2 l= 93 cons: cont [ 3 ]
2709:d=8 hl=2 l= 91 cons: SEQUENCE
2711:d=9 hl=2 l= 12 cons: SEQUENCE
2713:d=10 hl=2 l= 3 prim: OBJECT :X509v3 Basic Constraints
2718:d=10 hl=2 l= 5 prim: OCTET STRING [HEX DUMP]:30030101FF
2725:d=9 hl=2 l= 11 cons: SEQUENCE
2727:d=10 hl=2 l= 3 prim: OBJECT :X509v3 Key Usage
2732:d=10 hl=2 l= 4 prim: OCTET STRING [HEX DUMP]:030200FF
2738:d=9 hl=2 l= 29 cons: SEQUENCE
2740:d=10 hl=2 l= 3 prim: OBJECT :X509v3 Subject Key Identifier
2745:d=10 hl=2 l= 22 prim: OCTET STRING [HEX DUMP]:0414E50980E94F7AD172F84882364848427318A3D096
2769:d=9 hl=2 l= 31 cons: SEQUENCE
2771:d=10 hl=2 l= 3 prim: OBJECT :X509v3 Authority Key Identifier
2776:d=10 hl=2 l= 24 prim: OCTET STRING [HEX DUMP]:30168014E50980E94F7AD172F84882364848427318A3D096
2802:d=6 hl=2 l= 11 cons: SEQUENCE
2804:d=7 hl=2 l= 9 prim: OBJECT :sha256WithRSAEncryption
2815:d=6 hl=4 l= 257 prim: BIT STRING
3076:d=4 hl=4 l= 465 cons: SET
3080:d=5 hl=4 l= 461 cons: SEQUENCE
3084:d=6 hl=2 l= 1 prim: INTEGER :01
3087:d=6 hl=2 l= 61 cons: SEQUENCE
3089:d=7 hl=2 l= 56 cons: SEQUENCE
3091:d=8 hl=2 l= 54 cons: SET
3093:d=9 hl=2 l= 9 cons: SEQUENCE
3095:d=10 hl=2 l= 3 prim: OBJECT :countryName
3100:d=10 hl=2 l= 2 prim: PRINTABLESTRING :US
3104:d=9 hl=2 l= 41 cons: SEQUENCE
3106:d=10 hl=2 l= 3 prim: OBJECT :commonName
3111:d=10 hl=2 l= 34 prim: BMPSTRING
3147:d=7 hl=2 l= 1 prim: INTEGER :01
3150:d=6 hl=2 l= 13 cons: SEQUENCE
3152:d=7 hl=2 l= 9 prim: OBJECT :sha256
3163:d=7 hl=2 l= 0 prim: NULL
3165:d=6 hl=2 l= 105 cons: cont [ 0 ]
3167:d=7 hl=2 l= 24 cons: SEQUENCE
3169:d=8 hl=2 l= 9 prim: OBJECT :contentType
3180:d=8 hl=2 l= 11 cons: SET
3182:d=9 hl=2 l= 9 prim: OBJECT :pkcs7-data
3193:d=7 hl=2 l= 28 cons: SEQUENCE
3195:d=8 hl=2 l= 9 prim: OBJECT :signingTime
3206:d=8 hl=2 l= 15 cons: SET
3208:d=9 hl=2 l= 13 prim: UTCTIME :181226222633Z
3223:d=7 hl=2 l= 47 cons: SEQUENCE
3225:d=8 hl=2 l= 9 prim: OBJECT :messageDigest
3236:d=8 hl=2 l= 34 cons: SET
3238:d=9 hl=2 l= 32 prim: OCTET STRING [HEX DUMP]:DB083C86F67DC67F4A44F74D74A7414E11CE38C8F9F7FB8DDA1AF0EF9052A16B
3272:d=6 hl=2 l= 11 cons: SEQUENCE
3274:d=7 hl=2 l= 9 prim: OBJECT :sha256WithRSAEncryption
3285:d=6 hl=4 l= 256 prim: OCTET STRING [HEX DUMP]:6966C7940F2D209F2B7CEF63538DB78A5814038EC973F4A5901AAF8FC4495E3D622B3078EC6B5A93500A7B0B694DB8AC8003FF2CC9792E5E86C3D1CB9D20698F3D7E5FD0579FEB43862D55683A8B17679D6EBE5FE0607B0A08517B28B05044A62EC219CC044947CD5FFBAD72BD1A39D29041EA74C88FCDAB4E6FA63EF00A8B1C48D04CCC2F4D4E570F809F35F93F373080FBBC64CAA0D860FB920D600537304677C4445113C334C02099CA157B513F4E0266B06D93F7F1F078950037693EB2024D1317BCE2E273B26BF1BA1EEF6D2DF7053836285034CE3555F8CF9BB99DEF9E2CEF6DB33CFCCAE8E1161CA1EC43A7835F109A01A03951A664F10E29CAD4B387
```
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/830#note_127892224
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20181230/b86bf31a/attachment-0001.html>
More information about the Gnutls-devel
mailing list