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

Side by Side Diff: net/data/verify_signed_data_unittest/ecdsa-prime256v1-sha512-wrong-signature-format.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 as ecdsa-prime256v1-sha512.pem, except the signature is wrong.
2
3 Rather than encoding the signature into a DER-encoded Ecdsa-Sig-Value, it is a
4 concatenation of the r and s values. This is the format that WebCrypto uses for
5 ECDSA signature, but not what is used for digital signatures.
6
7 -----BEGIN PUBLIC KEY-----
8 MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEnLDPaTA9r8dh1ORoe07PA55tNKuWSvgIENjVWKS
9 o1vctUSM6F4iSCobuCKGWLHnvoxf7eHnil9rSFG25lfoceA==
10 -----END PUBLIC KEY-----
11
12 -----BEGIN ALGORITHM-----
13 MAoGCCqGSM49BAME
14 -----END ALGORITHM-----
15
16 -----BEGIN DATA-----
17 bikyFTMBpO72gOZCiSmtrpiMEI1mijH/VdBImUfXX/gaRr+J6E1kAfAjvm6HaI+814TXhcqEZzV
18 SSstS0ARSyEBApHnnzDMJNkQdk7vnIqlDKm4dsRK1yUA7ECcssTR/1hnUY/ep0iOtdv3gbYpog1
19 APuEMjWr/5jiQb37VTjD4=
20 -----END DATA-----
21
22 -----BEGIN SIGNATURE-----
23 S5+R5ChShyYaHRySPPYZzVLBdc/n8b5gpSWMYQNIuj0oxF+QHXHEGymGOOwNaoXX/LDDO7/sWpy
24 BCEa2OSiahA==
25 -----END SIGNATURE-----
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698