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

Side by Side Diff: net/data/verify_certificate_chain_unittest/violates-pathlen-1-constrained-root.pem

Issue 2282183004: Add error information to VerifyCertificateChain(). (Closed)
Patch Set: 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
OLDNEW
1 [Created by: generate-violates-pathlen-1-constrained-root.py] 1 [Created by: generate-violates-pathlen-1-constrained-root.py]
2 2
3 Certificate chain with 2 intermediates and one end entity certificate. The 3 Certificate chain with 2 intermediates and one end entity certificate. The
4 root certificate has a pathlen:1 restriction, and constraints are enforced 4 root certificate has a pathlen:1 restriction, and constraints are enforced
5 on this trust anchor making it an invalid chain. 5 on this trust anchor making it an invalid chain.
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 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 L5SifTDfxU2E4k0c 361 L5SifTDfxU2E4k0c
362 -----END TRUST_ANCHOR_CONSTRAINED----- 362 -----END TRUST_ANCHOR_CONSTRAINED-----
363 363
364 -----BEGIN TIME----- 364 -----BEGIN TIME-----
365 MTUwMzAyMTIwMDAwWg== 365 MTUwMzAyMTIwMDAwWg==
366 -----END TIME----- 366 -----END TIME-----
367 367
368 -----BEGIN VERIFY_RESULT----- 368 -----BEGIN VERIFY_RESULT-----
369 RkFJTA== 369 RkFJTA==
370 -----END VERIFY_RESULT----- 370 -----END VERIFY_RESULT-----
371
372 -----BEGIN ERRORS-----
373 bWF4X3BhdGhfbGVuZ3RoIHJlYWNoZWQ=
374 -----END ERRORS-----
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698