Index: net/data/verify_signed_data_unittest/rsa-pss-sha1-salt20-using-pss-key-no-params.pem |
diff --git a/net/data/verify_signed_data_unittest/rsa-pss-sha1-salt20-using-pss-key-no-params.pem b/net/data/verify_signed_data_unittest/rsa-pss-sha1-salt20-using-pss-key-no-params.pem |
new file mode 100644 |
index 0000000000000000000000000000000000000000..503cc2ed767414a02505a924d083f6fba8ed24f6 |
--- /dev/null |
+++ b/net/data/verify_signed_data_unittest/rsa-pss-sha1-salt20-using-pss-key-no-params.pem |
@@ -0,0 +1,48 @@ |
+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). |
+ |
+ |
+ |
+-----BEGIN PUBLIC KEY----- |
+MIGdMAsGCSqGSIb3DQEBCgOBjQAwgYkCgYEApW5KDnAQF1iaUYfcfqhB0Vby7A42rVKkTf6x5h9 |
+62ZHYxRBW/+2xYrTA8oOhKoijlN/1JqtykcuzB86r/OCx39XNlQgJbVsri2311nHvY3fAkhyyPC |
+cKcOJZjm/4nRnxBazC0/DLNfKSgOE4a29kxO8i4eHyDQzoz/siSb2aITcCAwEAAQ== |
+-----END PUBLIC KEY----- |
+ |
+$ openssl asn1parse -i < [PUBLIC KEY] |
+ 0:d=0 hl=3 l= 157 cons: SEQUENCE |
+ 3:d=1 hl=2 l= 11 cons: SEQUENCE |
+ 5:d=2 hl=2 l= 9 prim: OBJECT :rsassaPss |
+ 16:d=1 hl=3 l= 141 prim: BIT STRING |
+ |
+ |
+ |
+-----BEGIN ALGORITHM----- |
+MA0GCSqGSIb3DQEBCjAA |
+-----END ALGORITHM----- |
+ |
+$ openssl asn1parse -i < [ALGORITHM] |
+ 0:d=0 hl=2 l= 13 cons: SEQUENCE |
+ 2:d=1 hl=2 l= 9 prim: OBJECT :rsassaPss |
+ 13:d=1 hl=2 l= 0 cons: SEQUENCE |
+ |
+ |
+ |
+-----BEGIN DATA----- |
+zch9oiPXht87ReC7vHITJtHuKvgGzDFUdcxvDZxm4bYjcdRc4jkuGskoRMMQEC8Vag2NUsH0xAu |
+jqmUJV4bLdpdXplY7qVj+0LzJhOi1F6PV9RWyO4pB50qoZ2k/kN+wYabobfqu5kRywA5fIJRXKc |
+vr538Gznjgj0CY+6QfnWGTwDF+i2DUtghKy0LSnjgIo7w3LYXjMRcPy/fMctC3HClmSLOk0Q9BY |
+pXQgHqmJcqydE/Z6o/SI8QlNwKYKL0WvgJUbxMP0uM7k20mduCK7RtzMYt1CgFn0A== |
+-----END DATA----- |
+ |
+ |
+ |
+-----BEGIN SIGNATURE----- |
+A4GBAJB0MI+1mOlwGyKUOI5S+XH6rCtgpRRa8YXfUoe17SiH5Xzn/UTchjTkB8jg5DYLwibz7CJ |
+/nZ5UY46NMfUFEhXfbrucL5V5qndZijj5FLW5wb2DxOL584Kg0Ko1Qv/uZZhKYBvGnrKN6yfcoS |
+yCwtTD9mzVAPH/K5lNik4wy7M8 |
+-----END SIGNATURE----- |
+ |
+$ openssl asn1parse -i < [SIGNATURE] |
+ 0:d=0 hl=3 l= 129 prim: BIT STRING |