| 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 | |
| 6 -----BEGIN CERTIFICATE----- | |
| 7 MAgwAgUAMAIFAA== | |
| 8 -----END CERTIFICATE----- | |
| 9 | |
| 10 $ openssl asn1parse -i < [CERTIFICATE] | 5 $ openssl asn1parse -i < [CERTIFICATE] |
| 11 0:d=0 hl=2 l= 8 cons: SEQUENCE | 6 0:d=0 hl=2 l= 8 cons: SEQUENCE |
| 12 2:d=1 hl=2 l= 2 cons: SEQUENCE | 7 2:d=1 hl=2 l= 2 cons: SEQUENCE |
| 13 4:d=2 hl=2 l= 0 prim: NULL | 8 4:d=2 hl=2 l= 0 prim: NULL |
| 14 6:d=1 hl=2 l= 2 cons: SEQUENCE | 9 6:d=1 hl=2 l= 2 cons: SEQUENCE |
| 15 8:d=2 hl=2 l= 0 prim: NULL | 10 8:d=2 hl=2 l= 0 prim: NULL |
| 11 -----BEGIN CERTIFICATE----- |
| 12 MAgwAgUAMAIFAA== |
| 13 -----END CERTIFICATE----- |
| OLD | NEW |