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

Side by Side Diff: net/data/verify_signed_data_unittest/rsa-pss-sha256-salt10.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: clarify that signature_value is NOT the BIT STRING itself, but the byte contents 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 The key, message, and signature come from:
2 http://csrc.nist.gov/groups/STM/cavp/documents/dss/186-2rsatestvectors.zip (SigV erPSS_186-3.rsp)
3
4 (The algorithm DER was synthesized to match).
5
6 It uses an RSA key with modulus length of 1024 bits, PSS padding,
7 SHA-256 as the digest, MGF1 with SHA-256, and salt length of 10.
8
9 -----BEGIN PUBLIC KEY-----
10 MIGdMA0GCSqGSIb3DQEBAQUAA4GLADCBhwKBgQC+SZtefwbIP6ApPjFGXI62tYr5ILrlKntbm/6
11 3qnLbEmQRLrP9Qx0xoqflCUFWaSlJSg6JHtVhORi0tRsNH7l3g7Jqz30POEz7NfTSgk9d04BiOi
12 a/GAtjlhxhnc2yDK5AbyL24nbICjcllJDP63LBpxqE8YRtMwh3uj4xAeycewIBEQ==
13 -----END PUBLIC KEY-----
14
15 -----BEGIN ALGORITHM-----
16 MEEGCSqGSIb3DQEBCjA0oA8wDQYJYIZIAWUDBAIBBQChHDAaBgkqhkiG9w0BAQgwDQYJYIZIAWU
17 DBAIBBQCiAwIBCg==
18 -----END ALGORITHM-----
19
20 -----BEGIN DATA-----
21 x/UnD8pyX5vRn1GajXzKPMXAeQJAKfO65RD5sCFA/iOJCOT2wY8HqJxofIaEZpsfHbK6+SUaPIK
22 frMtJMIThbsnijViGgHSl1iIWZ91uUo0W/iyfPbTPr2xNzoyEOa84zqqqnOLsrnvI9KWlXjv5bf
23 nNV1xPnLMnlRuM3+QIcWg=
24 -----END DATA-----
25
26 -----BEGIN SIGNATURE-----
27 EeFp8v1AsHZBuXaKKrGZZftsJ/EPzwMj/MbRLrTxwGszDdqh6lBEB6+inenr4DdP6dHn0P+9X8H
28 POjRG5BRUFdKrJPeJs0ZMXEOiVrvB1pLPfwSAHaxbtAGkoDq31XKKhgwZ4aTceXylQsggPOwuYB
29 6wxR9Wfy7aAisLnr3e7vo=
30 -----END SIGNATURE-----
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698