| This is an otherwise "valid" Certificate input for ParseCertificate(), however |
| it is missing the final field (signature). |
| |
| |
| $ openssl asn1parse -i < [CERTIFICATE] |
| 0:d=0 hl=2 l= 8 cons: SEQUENCE |
| 2:d=1 hl=2 l= 2 cons: SEQUENCE |
| 4:d=2 hl=2 l= 0 prim: NULL |
| 6:d=1 hl=2 l= 2 cons: SEQUENCE |
| 8:d=2 hl=2 l= 0 prim: NULL |
| -----BEGIN CERTIFICATE----- |
| MAgwAgUAMAIFAA== |
| -----END CERTIFICATE----- |
| |
| ERROR: Couldn't read Certificate.signatureValue as BIT STRING |
| |
| -----BEGIN ERRORS----- |
| RVJST1I6IENvdWxkbid0IHJlYWQgQ2VydGlmaWNhdGUuc2lnbmF0dXJlVmFsdWUgYXMgQklUIFNUUklORwo= |
| -----END ERRORS----- |