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

Side by Side Diff: net/data/verify_signed_data_unittest/rsa-pkcs1-sha1-bad-key-der-null.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 Same test as rsa-pkcs1-sha1.pem except an extra NULL (0x05, 0x00) has been
2 appended to the SPKI.
3
4 The DER can still be parsed, however it should fail due to the unconsumed data
5 at the end.
6
7 -----BEGIN PUBLIC KEY-----
8 MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQClbkoOcBAXWJpRh9x+qEHRVvLsDjatUqRN/rH
9 mH3rZkdjFEFb/7bFitMDyg6EqiKOU3/Umq3KRy7MHzqv84LHf1c2VCAltWyuLbfXWce9jd8CSHL
10 I8Jwpw4lmOb/idGfEFrMLT8Ms18pKA4Thrb2TE7yLh4fINDOjP+yJJvZohNwIDAQABBQA=
11 -----END PUBLIC KEY-----
12
13 -----BEGIN ALGORITHM-----
14 MA0GCSqGSIb3DQEBBQUA
15 -----END ALGORITHM-----
16
17 -----BEGIN DATA-----
18 zch9oiPXht87ReC7vHITJtHuKvgGzDFUdcxvDZxm4bYjcdRc4jkuGskoRMMQEC8Vag2NUsH0xAu
19 jqmUJV4bLdpdXplY7qVj+0LzJhOi1F6PV9RWyO4pB50qoZ2k/kN+wYabobfqu5kRywA5fIJRXKc
20 vr538Gznjgj0CY+6QfnWGTwDF+i2DUtghKy0LSnjgIo7w3LYXjMRcPy/fMctC3HClmSLOk0Q9BY
21 pXQgHqmJcqydE/Z6o/SI8QlNwKYKL0WvgJUbxMP0uM7k20mduCK7RtzMYt1CgFn0A==
22 -----END DATA-----
23
24 -----BEGIN SIGNATURE-----
25 a8OgZlaEKTCiR+MNWGS02Bkja6fGiWWGKtfbxOJK8o6Gu1MfAzWL5ft0d3xghvhQyu+JPw1vzC0
26 MkewBNpO06gC4DNSarE7LX4kRr+U5raSo84I9HRPkctFJBUfGWcdhfz0kCH3bbytyCWFn/Al8qx
27 jppFj8tjTNzo7jWJTEhNc=
28 -----END SIGNATURE-----
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698