OLD | NEW |
1 This is a very basic TBSCertificate which would be valid except the version | 1 This is a very basic TBSCertificate which would be valid except the version |
2 number is v4 (3). | 2 number is v4 (3). |
3 | 3 |
4 | 4 |
5 | 5 |
6 -----BEGIN TBS CERTIFICATE----- | 6 -----BEGIN TBS CERTIFICATE----- |
7 MCGgAwIBAwIBATADBAEBMAMEAQUwAwQBCDADBAEKMAMEAfM= | 7 MDygAwIBAwIBATADBAEBMAMEAQUwHhcNMTIxMDE4MDMxMjAwWhcNMTMxMDE4MTQ1OTU5WjADBAG |
| 8 DMAMEAfM= |
8 -----END TBS CERTIFICATE----- | 9 -----END TBS CERTIFICATE----- |
9 | 10 |
10 $ openssl asn1parse -i < [TBS CERTIFICATE] | 11 $ openssl asn1parse -i < [TBS CERTIFICATE] |
11 0:d=0 hl=2 l= 33 cons: SEQUENCE | 12 0:d=0 hl=2 l= 60 cons: SEQUENCE |
12 2:d=1 hl=2 l= 3 cons: cont [ 0 ] | 13 2:d=1 hl=2 l= 3 cons: cont [ 0 ] |
13 4:d=2 hl=2 l= 1 prim: INTEGER :03 | 14 4:d=2 hl=2 l= 1 prim: INTEGER :03 |
14 7:d=1 hl=2 l= 1 prim: INTEGER :01 | 15 7:d=1 hl=2 l= 1 prim: INTEGER :01 |
15 10:d=1 hl=2 l= 3 cons: SEQUENCE | 16 10:d=1 hl=2 l= 3 cons: SEQUENCE |
16 12:d=2 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:01 | 17 12:d=2 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:01 |
17 15:d=1 hl=2 l= 3 cons: SEQUENCE | 18 15:d=1 hl=2 l= 3 cons: SEQUENCE |
18 17:d=2 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:05 | 19 17:d=2 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:05 |
19 20:d=1 hl=2 l= 3 cons: SEQUENCE | 20 20:d=1 hl=2 l= 30 cons: SEQUENCE |
20 22:d=2 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:08 | 21 22:d=2 hl=2 l= 13 prim: UTCTIME :121018031200Z |
21 25:d=1 hl=2 l= 3 cons: SEQUENCE | 22 37:d=2 hl=2 l= 13 prim: UTCTIME :131018145959Z |
22 27:d=2 hl=2 l= 1 prim: OCTET STRING : | 23 52:d=1 hl=2 l= 3 cons: SEQUENCE |
23 | 24 54:d=2 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:83 |
24 30:d=1 hl=2 l= 3 cons: SEQUENCE | 25 57:d=1 hl=2 l= 3 cons: SEQUENCE |
25 32:d=2 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:F3 | 26 59:d=2 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:F3 |
OLD | NEW |