1 This is an otherwise "valid" input to ParseCertificate(), however there is a
2 trailing NULL after the signature field.
6 -----BEGIN CERTIFICATE-----
7 MA4wAgUAMAIFAAMCAKwFAA==
8 -----END CERTIFICATE-----
10 $ openssl asn1parse -i < [CERTIFICATE]
11 0:d=0 hl=2 l= 14 cons: SEQUENCE
12 2:d=1 hl=2 l= 2 cons: SEQUENCE
13 4:d=2 hl=2 l= 0 prim: NULL
14 6:d=1 hl=2 l= 2 cons: SEQUENCE
15 8:d=2 hl=2 l= 0 prim: NULL
16 10:d=1 hl=2 l= 2 prim: BIT STRING
17 14:d=1 hl=2 l= 0 prim: NULL