OLD | NEW |
(Empty) | |
| 1 This test specified a valid RSA PKCS#1 v.1.5 signature and RSA key (the same as
rsa-pkcs1-sha256.pem). |
| 2 |
| 3 The problem however is the signature algorithm is indicated as being ECDSA. |
| 4 |
| 5 Signature verification consequently should fail. |
| 6 |
| 7 -----BEGIN PUBLIC KEY----- |
| 8 MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCqR+B2Mj1irNp1JnY2zQIQRQPz |
| 9 7ybs6mUjHT3hf5APyaig2u6fBPThqxssgg0YviqIj/70hVK/JXcqP1zgR5AhsA0a |
| 10 gnwAjfB/ow4EH+3HEYV52qpxN98pUxC+1l2hgVtn8xCS/JGyjK+6dv+lZw3ixJoX |
| 11 2RjVtdJ4/cn318EhhQIDAQAB |
| 12 -----END PUBLIC KEY----- |
| 13 |
| 14 -----BEGIN ALGORITHM----- |
| 15 MAoGCCqGSM49BAMC |
| 16 -----END ALGORITHM----- |
| 17 |
| 18 -----BEGIN DATA----- |
| 19 MIIB46ADAgECAgkA3l4tFOVii0UwDQYJKoZIhvcNAQELBQAwVjELMAkGA1UEBhMCQVUxEzARBgNV |
| 20 BAgMClNvbWUtU3RhdGUxITAfBgNVBAoMGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEPMA0GA1UE |
| 21 AwwGTXkga2V5MB4XDTE1MDcwMjE3MDYzOVoXDTE2MDcwMTE3MDYzOVowVjELMAkGA1UEBhMCQVUx |
| 22 EzARBgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoMGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEP |
| 23 MA0GA1UEAwwGTXkga2V5MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCqR+B2Mj1irNp1JnY2 |
| 24 zQIQRQPz7ybs6mUjHT3hf5APyaig2u6fBPThqxssgg0YviqIj/70hVK/JXcqP1zgR5AhsA0agnwA |
| 25 jfB/ow4EH+3HEYV52qpxN98pUxC+1l2hgVtn8xCS/JGyjK+6dv+lZw3ixJoX2RjVtdJ4/cn318Eh |
| 26 hQIDAQABo1AwTjAdBgNVHQ4EFgQUzQBVKTEknyLndWd2HTsBdTKvyikwHwYDVR0jBBgwFoAUzQBV |
| 27 KTEknyLndWd2HTsBdTKvyikwDAYDVR0TBAUwAwEB/w== |
| 28 -----END DATA----- |
| 29 |
| 30 -----BEGIN SIGNATURE----- |
| 31 OsdKYVInD8a/uGzk83OlonACuL+yK1qshl/M39KNH6fwvzJ5MSiINvX4GTGUW9e88dNo4qg7daWy |
| 32 U007GHVbn8mRhgY5SQJzIiOeWfqpLnrSKZyvdU2OiZP8zwzYiyz6smIpq7VNG5o/sfyLr4ap/exo |
| 33 Z2vz8ue8UB01C+RqVC0= |
| 34 -----END SIGNATURE----- |
OLD | NEW |