Index: net/data/verify_signed_data_unittest/rsa-pss-sha256-salt10.pem |
diff --git a/net/data/verify_signed_data_unittest/rsa-pss-sha256-salt10.pem b/net/data/verify_signed_data_unittest/rsa-pss-sha256-salt10.pem |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e48ba4f4344a0ff684cbb8df25523e1180d3c9ba |
--- /dev/null |
+++ b/net/data/verify_signed_data_unittest/rsa-pss-sha256-salt10.pem |
@@ -0,0 +1,30 @@ |
+The key, message, and signature come from: |
+http://csrc.nist.gov/groups/STM/cavp/documents/dss/186-2rsatestvectors.zip (SigVerPSS_186-3.rsp) |
+ |
+(The algorithm DER was synthesized to match). |
+ |
+It uses an RSA key with modulus length of 1024 bits, PSS padding, |
+SHA-256 as the digest, MGF1 with SHA-256, and salt length of 10. |
+ |
+-----BEGIN PUBLIC KEY----- |
+MIGdMA0GCSqGSIb3DQEBAQUAA4GLADCBhwKBgQC+SZtefwbIP6ApPjFGXI62tYr5ILrlKntbm/6 |
+3qnLbEmQRLrP9Qx0xoqflCUFWaSlJSg6JHtVhORi0tRsNH7l3g7Jqz30POEz7NfTSgk9d04BiOi |
+a/GAtjlhxhnc2yDK5AbyL24nbICjcllJDP63LBpxqE8YRtMwh3uj4xAeycewIBEQ== |
+-----END PUBLIC KEY----- |
+ |
+-----BEGIN ALGORITHM----- |
+MEEGCSqGSIb3DQEBCjA0oA8wDQYJYIZIAWUDBAIBBQChHDAaBgkqhkiG9w0BAQgwDQYJYIZIAWU |
+DBAIBBQCiAwIBCg== |
+-----END ALGORITHM----- |
+ |
+-----BEGIN DATA----- |
+x/UnD8pyX5vRn1GajXzKPMXAeQJAKfO65RD5sCFA/iOJCOT2wY8HqJxofIaEZpsfHbK6+SUaPIK |
+frMtJMIThbsnijViGgHSl1iIWZ91uUo0W/iyfPbTPr2xNzoyEOa84zqqqnOLsrnvI9KWlXjv5bf |
+nNV1xPnLMnlRuM3+QIcWg= |
+-----END DATA----- |
+ |
+-----BEGIN SIGNATURE----- |
+EeFp8v1AsHZBuXaKKrGZZftsJ/EPzwMj/MbRLrTxwGszDdqh6lBEB6+inenr4DdP6dHn0P+9X8H |
+POjRG5BRUFdKrJPeJs0ZMXEOiVrvB1pLPfwSAHaxbtAGkoDq31XKKhgwZ4aTceXylQsggPOwuYB |
+6wxR9Wfy7aAisLnr3e7vo= |
+-----END SIGNATURE----- |