1 This is a very basic TBSCertificate. It is valid from the perspective of
2 ParseTbsCertificate(), however its sub-fields are mainly bogus. This
3 TBSCertificate contains no optional fields (no issuerUniqueID, subjectUniqueID,
8 -----BEGIN TBS CERTIFICATE-----
9 MCigAwIBAgIBATADBAEBMAMEAQUwAwQBCDADBAEKMAMEAfOjBTADBAHd
10 -----END TBS CERTIFICATE-----
12 $ openssl asn1parse -i < [TBS CERTIFICATE]
13 0:d=0 hl=2 l= 40 cons: SEQUENCE
14 2:d=1 hl=2 l= 3 cons: cont [ 0 ]
15 4:d=2 hl=2 l= 1 prim: INTEGER :02
16 7:d=1 hl=2 l= 1 prim: INTEGER :01
17 10:d=1 hl=2 l= 3 cons: SEQUENCE
18 12:d=2 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:01
19 15:d=1 hl=2 l= 3 cons: SEQUENCE
20 17:d=2 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:05
21 20:d=1 hl=2 l= 3 cons: SEQUENCE
22 22:d=2 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:08
23 25:d=1 hl=2 l= 3 cons: SEQUENCE
24 27:d=2 hl=2 l= 1 prim: OCTET STRING :
26 30:d=1 hl=2 l= 3 cons: SEQUENCE
27 32:d=2 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:F3
28 35:d=1 hl=2 l= 5 cons: cont [ 3 ]
29 37:d=2 hl=2 l= 3 cons: SEQUENCE
30 39:d=3 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:DD
34 -----BEGIN SERIAL NUMBER-----
36 -----END SERIAL NUMBER-----
40 -----BEGIN SIGNATURE ALGORITHM-----
42 -----END SIGNATURE ALGORITHM-----
44 $ openssl asn1parse -i < [SIGNATURE ALGORITHM]
45 0:d=0 hl=2 l= 3 cons: SEQUENCE
46 2:d=1 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:01
50 -----BEGIN ISSUER-----
54 $ openssl asn1parse -i < [ISSUER]
55 0:d=0 hl=2 l= 3 cons: SEQUENCE
56 2:d=1 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:05
60 -----BEGIN VALIDITY-----
62 -----END VALIDITY-----
64 $ openssl asn1parse -i < [VALIDITY]
65 0:d=0 hl=2 l= 3 cons: SEQUENCE
66 2:d=1 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:08
70 -----BEGIN SUBJECT-----
74 $ openssl asn1parse -i < [SUBJECT]
75 0:d=0 hl=2 l= 3 cons: SEQUENCE
76 2:d=1 hl=2 l= 1 prim: OCTET STRING :
84 $ openssl asn1parse -i < [SPKI]
85 0:d=0 hl=2 l= 3 cons: SEQUENCE
86 2:d=1 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:F3
90 -----BEGIN EXTENSIONS-----
92 -----END EXTENSIONS-----
94 $ openssl asn1parse -i < [EXTENSIONS]
95 0:d=0 hl=2 l= 3 cons: SEQUENCE
96 2:d=1 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:DD