Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(712)

Side by Side Diff: net/data/verify_signed_data_unittest/rsa-pkcs1-sha1-using-pss-key-no-params.pem

Issue 1209283004: Implement VerifySignedData() for ECDSA, RSA PKCS#1 and RSA PSS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@parse_pss
Patch Set: nop? Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 This is the same test as rsa-pkcs1-sha1.pem, except the SPKI has been modified
2 so that the key algorithm is rsaPss (1.2.840.113549.1.1.10) with absent
3 parameters.
4
5 Subsequently this should fail, as a PSS key should not be used with a signature
6 algorithm for PKCS#1 v1.5
davidben 2015/07/21 16:26:27 Nit: period at the end.
eroman 2015/07/21 19:24:29 Done.
7
8 -----BEGIN PUBLIC KEY-----
9 MIGdMAsGCSqGSIb3DQEBCgOBjQAwgYkCgYEApW5KDnAQF1iaUYfcfqhB0Vby7A42rVKkTf6x5h9
10 62ZHYxRBW/+2xYrTA8oOhKoijlN/1JqtykcuzB86r/OCx39XNlQgJbVsri2311nHvY3fAkhyyPC
11 cKcOJZjm/4nRnxBazC0/DLNfKSgOE4a29kxO8i4eHyDQzoz/siSb2aITcCAwEAAQ==
12 -----END PUBLIC KEY-----
13
14 -----BEGIN ALGORITHM-----
15 MA0GCSqGSIb3DQEBBQUA
16 -----END ALGORITHM-----
17
18 -----BEGIN DATA-----
19 zch9oiPXht87ReC7vHITJtHuKvgGzDFUdcxvDZxm4bYjcdRc4jkuGskoRMMQEC8Vag2NUsH0xAu
20 jqmUJV4bLdpdXplY7qVj+0LzJhOi1F6PV9RWyO4pB50qoZ2k/kN+wYabobfqu5kRywA5fIJRXKc
21 vr538Gznjgj0CY+6QfnWGTwDF+i2DUtghKy0LSnjgIo7w3LYXjMRcPy/fMctC3HClmSLOk0Q9BY
22 pXQgHqmJcqydE/Z6o/SI8QlNwKYKL0WvgJUbxMP0uM7k20mduCK7RtzMYt1CgFn0A==
23 -----END DATA-----
24
25 -----BEGIN SIGNATURE-----
26 a8OgZlaEKTCiR+MNWGS02Bkja6fGiWWGKtfbxOJK8o6Gu1MfAzWL5ft0d3xghvhQyu+JPw1vzC0
27 MkewBNpO06gC4DNSarE7LX4kRr+U5raSo84I9HRPkctFJBUfGWcdhfz0kCH3bbytyCWFn/Al8qx
28 jppFj8tjTNzo7jWJTEhNc=
29 -----END SIGNATURE-----
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698