| OLD | NEW |
| 1 This is an otherwise "valid" Certificate input for ParseCertificate(), however | 1 This is an otherwise "valid" Certificate input for ParseCertificate(), however |
| 2 it is missing the final field (signature). | 2 it is missing the final field (signature). |
| 3 | 3 |
| 4 | 4 |
| 5 $ openssl asn1parse -i < [CERTIFICATE] | 5 $ openssl asn1parse -i < [CERTIFICATE] |
| 6 0:d=0 hl=2 l= 8 cons: SEQUENCE | 6 0:d=0 hl=2 l= 8 cons: SEQUENCE |
| 7 2:d=1 hl=2 l= 2 cons: SEQUENCE | 7 2:d=1 hl=2 l= 2 cons: SEQUENCE |
| 8 4:d=2 hl=2 l= 0 prim: NULL | 8 4:d=2 hl=2 l= 0 prim: NULL |
| 9 6:d=1 hl=2 l= 2 cons: SEQUENCE | 9 6:d=1 hl=2 l= 2 cons: SEQUENCE |
| 10 8:d=2 hl=2 l= 0 prim: NULL | 10 8:d=2 hl=2 l= 0 prim: NULL |
| 11 -----BEGIN CERTIFICATE----- | 11 -----BEGIN CERTIFICATE----- |
| 12 MAgwAgUAMAIFAA== | 12 MAgwAgUAMAIFAA== |
| 13 -----END CERTIFICATE----- | 13 -----END CERTIFICATE----- |
| 14 |
| 15 [Error] Couldn't read Certificate.signatureValue as BIT STRING |
| 16 |
| 17 -----BEGIN ERRORS----- |
| 18 W0Vycm9yXSBDb3VsZG4ndCByZWFkIENlcnRpZmljYXRlLnNpZ25hdHVyZVZhbHVlIGFzIEJJVCBTVFJJ
TkcK |
| 19 -----END ERRORS----- |
| OLD | NEW |