1 This is the same test as ecdsa-secp384r1-sha256.pem, except the DATA section
2 has been corrupted. The third byte has been set to 0.
4 This signature should NOT verify successfully.
8 -----BEGIN PUBLIC KEY-----
9 MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEXFhBi+WKXuxeK9yCbC9jqEchwjCNsQ4RXAsJ07oHZ+Q
10 qz55cNIY5BAhcQ0QYY5jv9BimGL9SuhUuOSuS3Pn9rrsIFGcFsihy4kDr8rq5+7RbN8bV057gW5
12 -----END PUBLIC KEY-----
14 $ openssl asn1parse -i < [PUBLIC KEY]
15 0:d=0 hl=2 l= 118 cons: SEQUENCE
16 2:d=1 hl=2 l= 16 cons: SEQUENCE
17 4:d=2 hl=2 l= 7 prim: OBJECT :id-ecPublicKey
18 13:d=2 hl=2 l= 5 prim: OBJECT :secp384r1
19 20:d=1 hl=2 l= 98 prim: BIT STRING
23 -----BEGIN ALGORITHM-----
25 -----END ALGORITHM-----
27 $ openssl asn1parse -i < [ALGORITHM]
28 0:d=0 hl=2 l= 10 cons: SEQUENCE
29 2:d=1 hl=2 l= 8 prim: OBJECT :ecdsa-with-SHA256
34 MIIA6KADAgECAgkAtUVxft6/Vc0wCgYIKoZIzj0EAwIwbzELMAkGA1UEBhMCQVUxEzARBgNVBAg
35 MClNvbWUtU3RhdGUxITAfBgNVBAoMGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEMMAoGA1UEAw
36 wDYWhhMRowGAYJKoZIhvcNAQkBFgtzdXBAZm9vLmNvbTAeFw0xNTA3MDIwMDM4MTRaFw0xNjA3M
37 DEwMDM4MTRaMG8xCzAJBgNVBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJ
38 bnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQxDDAKBgNVBAMMA2FoYTEaMBgGCSqGSIb3DQEJARYLc3V
39 wQGZvby5jb20wdjAQBgcqhkjOPQIBBgUrgQQAIgNiAARcWEGL5Ype7F4r3IJsL2OoRyHCMI2xDh
40 FcCwnTugdn5CrPnlw0hjkECFxDRBhjmO/0GKYYv1K6FS45K5Lc+f2uuwgUZwWyKHLiQOvyurn7t
41 Fs3xtXTnuBbl6ZiMu28OxCjUDBOMB0GA1UdDgQWBBR6nDgtPalG2JvSlWzdGRCi/Cu7NjAfBgNV
42 HSMEGDAWgBR6nDgtPalG2JvSlWzdGRCi/Cu7NjAMBgNVHRMEBTADAQH/
47 -----BEGIN SIGNATURE-----
48 A2kAMGYCMQCDwMSZVJZ8qThiNTV7VX57m8fdNnNS6cXIjRYoh4SozlYWmWGh87nhmJJCeD16jVM
49 CMQDkroAY8oNi8RxLUor+LozhhVgu24tu6lcp4MP8H3Zy8bBea5HerAd1AqJp3Ox7KDU=
50 -----END SIGNATURE-----
52 $ openssl asn1parse -i < [SIGNATURE]
53 0:d=0 hl=2 l= 105 prim: BIT STRING