1This is an otherwise valid input to ParseSignature(), however the signature was 2changed from a BIT STRING to an OCTET STRING. 3 4 5$ openssl asn1parse -i < [CERTIFICATE] 6 0:d=0 hl=2 l= 12 cons: SEQUENCE 7 2:d=1 hl=2 l= 2 cons: SEQUENCE 8 4:d=2 hl=2 l= 0 prim: NULL 9 6:d=1 hl=2 l= 2 cons: SEQUENCE 10 8:d=2 hl=2 l= 0 prim: NULL 11 10:d=1 hl=2 l= 2 prim: OCTET STRING [HEX DUMP]:0102 12-----BEGIN CERTIFICATE----- 13MAwwAgUAMAIFAAQCAQI= 14-----END CERTIFICATE----- 15 16ERROR: Couldn't read Certificate.signatureValue as BIT STRING 17 18-----BEGIN ERRORS----- 19RVJST1I6IENvdWxkbid0IHJlYWQgQ2VydGlmaWNhdGUuc2lnbmF0dXJlVmFsdWUgYXMgQklUIFNUUklORwo= 20-----END ERRORS----- 21