Index: net/data/verify_signed_data_unittest/rsa-pss-sha1-salt20-using-pss-key-with-null-params.pem |
diff --git a/net/data/verify_signed_data_unittest/rsa-pss-sha1-salt20-using-pss-key-with-null-params.pem b/net/data/verify_signed_data_unittest/rsa-pss-sha1-salt20-using-pss-key-with-null-params.pem |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4432a2a343d9c41cade468011624a4aebe0622de |
--- /dev/null |
+++ b/net/data/verify_signed_data_unittest/rsa-pss-sha1-salt20-using-pss-key-with-null-params.pem |
@@ -0,0 +1,27 @@ |
+This is the same test as rsa-pss-sha1-salt20.pem, except the public key's |
+algorithm identifier has been changed from rsaEncryption (1.2.840.113549.1.1.1) |
+to rsaPss (1.2.840.113549.1.1.10). Note that the PSS parameters have been |
+encoded as NULL which is incorrect. |
+ |
+-----BEGIN PUBLIC KEY----- |
+MIGfMA0GCSqGSIb3DQEBCgUAA4GNADCBiQKBgQClbkoOcBAXWJpRh9x+qEHRVvLsDjatUqRN/rH |
+mH3rZkdjFEFb/7bFitMDyg6EqiKOU3/Umq3KRy7MHzqv84LHf1c2VCAltWyuLbfXWce9jd8CSHL |
+I8Jwpw4lmOb/idGfEFrMLT8Ms18pKA4Thrb2TE7yLh4fINDOjP+yJJvZohNwIDAQAB |
+-----END PUBLIC KEY----- |
+ |
+-----BEGIN ALGORITHM----- |
+MA0GCSqGSIb3DQEBCjAA |
+-----END ALGORITHM----- |
+ |
+-----BEGIN DATA----- |
+zch9oiPXht87ReC7vHITJtHuKvgGzDFUdcxvDZxm4bYjcdRc4jkuGskoRMMQEC8Vag2NUsH0xAu |
+jqmUJV4bLdpdXplY7qVj+0LzJhOi1F6PV9RWyO4pB50qoZ2k/kN+wYabobfqu5kRywA5fIJRXKc |
+vr538Gznjgj0CY+6QfnWGTwDF+i2DUtghKy0LSnjgIo7w3LYXjMRcPy/fMctC3HClmSLOk0Q9BY |
+pXQgHqmJcqydE/Z6o/SI8QlNwKYKL0WvgJUbxMP0uM7k20mduCK7RtzMYt1CgFn0A== |
+-----END DATA----- |
+ |
+-----BEGIN SIGNATURE----- |
+kHQwj7WY6XAbIpQ4jlL5cfqsK2ClFFrxhd9Sh7XtKIflfOf9RNyGNOQHyODkNgvCJvPsIn+dnlR |
+jjo0x9QUSFd9uu5wvlXmqd1mKOPkUtbnBvYPE4vnzgqDQqjVC/+5lmEpgG8aeso3rJ9yhLILC1M |
+P2bNUA8f8rmU2KTjDLszw= |
+-----END SIGNATURE----- |