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

Side by Side Diff: net/data/verify_certificate_chain_unittest/target-wrong-signature.pem

Issue 2289363004: Add error information to VerifySignedData(). (Closed)
Patch Set: rebase onto origin/master Created 4 years, 3 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
« no previous file with comments | « net/data/verify_certificate_chain_unittest/target-signed-by-512bit-rsa.pem ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 [Created by: generate-target-wrong-signature.py] 1 [Created by: generate-target-wrong-signature.py]
2 2
3 Certificate chain where the target has an incorrect signature. Everything 3 Certificate chain where the target has an incorrect signature. Everything
4 else should check out, however the digital signature contained in the target 4 else should check out, however the digital signature contained in the target
5 certificate is wrong. 5 certificate is wrong.
6 6
7 Certificate: 7 Certificate:
8 Data: 8 Data:
9 Version: 3 (0x2) 9 Version: 3 (0x2)
10 Serial Number: 1 (0x1) 10 Serial Number: 1 (0x1)
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 -----BEGIN TIME----- 276 -----BEGIN TIME-----
277 MTUwMzAyMTIwMDAwWg== 277 MTUwMzAyMTIwMDAwWg==
278 -----END TIME----- 278 -----END TIME-----
279 279
280 FAIL 280 FAIL
281 -----BEGIN VERIFY_RESULT----- 281 -----BEGIN VERIFY_RESULT-----
282 RkFJTA== 282 RkFJTA==
283 -----END VERIFY_RESULT----- 283 -----END VERIFY_RESULT-----
284 284
285 Signature verification failed 285 Signature verification failed
286 VerifySignedData failed
286 -----BEGIN ERRORS----- 287 -----BEGIN ERRORS-----
287 U2lnbmF0dXJlIHZlcmlmaWNhdGlvbiBmYWlsZWQ= 288 U2lnbmF0dXJlIHZlcmlmaWNhdGlvbiBmYWlsZWQKVmVyaWZ5U2lnbmVkRGF0YSBmYWlsZWQ=
288 -----END ERRORS----- 289 -----END ERRORS-----
OLDNEW
« no previous file with comments | « net/data/verify_certificate_chain_unittest/target-signed-by-512bit-rsa.pem ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698