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

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

Issue 2245643004: Support trust anchor constraints, by specifying them as a certificate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update gypi Created 4 years, 4 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/violates-pathlen-1-root.pem ('k') | net/net.gypi » ('j') | 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-violates-pathlen-1-root.py] 1 [Created by: generate-violates-pathlen-1-unconstrained-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. Ordinarily this would be an 4 root certificate has a pathlen:1 restriction. Ordinarily this would be an
5 invalid chain, however constraints on trust anchors are not validated. 5 invalid chain, however constraints on this trust anchor are not enforced.
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)
11 Signature Algorithm: sha256WithRSAEncryption 11 Signature Algorithm: sha256WithRSAEncryption
12 Issuer: CN=Intermediate2 12 Issuer: CN=Intermediate2
13 Validity 13 Validity
14 Not Before: Jan 1 12:00:00 2015 GMT 14 Not Before: Jan 1 12:00:00 2015 GMT
15 Not After : Jan 1 12:00:00 2016 GMT 15 Not After : Jan 1 12:00:00 2016 GMT
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 UTGFS8+M2Q4BmhJs 361 UTGFS8+M2Q4BmhJs
362 -----END TRUST_ANCHOR_UNCONSTRAINED----- 362 -----END TRUST_ANCHOR_UNCONSTRAINED-----
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 U1VDQ0VTUw== 369 U1VDQ0VTUw==
370 -----END VERIFY_RESULT----- 370 -----END VERIFY_RESULT-----
OLDNEW
« no previous file with comments | « net/data/verify_certificate_chain_unittest/violates-pathlen-1-root.pem ('k') | net/net.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698