OLD | NEW |
(Empty) | |
| 1 This uses the same test data as ecdsa-prime256v1-sha512.pem, HOWEVER the |
| 2 algorithm OID for the public key has been changed from id-ecPublicKey |
| 3 (1.2.840.10045.2.1) to id-ecDH (1.3.132.1.12) |
| 4 |
| 5 This test should fail because the public key's algorithm does not match that of |
| 6 the signature algorithm. |
| 7 |
| 8 -----BEGIN PUBLIC KEY----- |
| 9 MFcwEQYFK4EEAQwGCCqGSM49AwEHA0IABJywz2kwPa/HYdTkaHtOzwOebTSrlkr4CBDY1VikqNb |
| 10 3LVEjOheIkgqG7gihlix576MX+3h54pfa0hRtuZX6HHg= |
| 11 -----END PUBLIC KEY----- |
| 12 |
| 13 -----BEGIN ALGORITHM----- |
| 14 MAoGCCqGSM49BAME |
| 15 -----END ALGORITHM----- |
| 16 |
| 17 -----BEGIN DATA----- |
| 18 bikyFTMBpO72gOZCiSmtrpiMEI1mijH/VdBImUfXX/gaRr+J6E1kAfAjvm6HaI+814TXhcqEZzV |
| 19 SSstS0ARSyEBApHnnzDMJNkQdk7vnIqlDKm4dsRK1yUA7ECcssTR/1hnUY/ep0iOtdv3gbYpog1 |
| 20 APuEMjWr/5jiQb37VTjD4= |
| 21 -----END DATA----- |
| 22 |
| 23 -----BEGIN SIGNATURE----- |
| 24 MEQCIEufkeQoUocmGh0ckjz2Gc1SwXXP5/G+YKUljGEDSLo9AiAoxF+QHXHEGymGOOwNaoXX/LD |
| 25 DO7/sWpyBCEa2OSiahA== |
| 26 -----END SIGNATURE----- |
OLD | NEW |