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

Side by Side Diff: net/data/verify_certificate_chain_unittest/expired-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
OLDNEW
1 [Created by: generate-expired-root.py] 1 [Created by: generate-expired-unconstrained-root.py]
2 2
3 Certificate chain with 1 intermediate, where the root certificate is expired 3 Certificate chain with 1 intermediate, where the root certificate is expired
4 (violates validity.notAfter). Verification is expected to succeed as 4 (violates validity.notAfter). Verification is expected to succeed as
5 constraints on trust anchors are not enforced.. 5 the trust anchor has no constraints (so expiration of the certificate is not
6 enforced).
6 7
7 Certificate: 8 Certificate:
8 Data: 9 Data:
9 Version: 3 (0x2) 10 Version: 3 (0x2)
10 Serial Number: 1 (0x1) 11 Serial Number: 1 (0x1)
11 Signature Algorithm: sha256WithRSAEncryption 12 Signature Algorithm: sha256WithRSAEncryption
12 Issuer: CN=Intermediate 13 Issuer: CN=Intermediate
13 Validity 14 Validity
14 Not Before: Jan 1 12:00:00 2015 GMT 15 Not Before: Jan 1 12:00:00 2015 GMT
15 Not After : Jan 1 12:00:00 2016 GMT 16 Not After : Jan 1 12:00:00 2016 GMT
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 7OsysxBPUlNo 273 7OsysxBPUlNo
273 -----END TRUST_ANCHOR_UNCONSTRAINED----- 274 -----END TRUST_ANCHOR_UNCONSTRAINED-----
274 275
275 -----BEGIN TIME----- 276 -----BEGIN TIME-----
276 MTUwMzAyMTIwMDAwWg== 277 MTUwMzAyMTIwMDAwWg==
277 -----END TIME----- 278 -----END TIME-----
278 279
279 -----BEGIN VERIFY_RESULT----- 280 -----BEGIN VERIFY_RESULT-----
280 U1VDQ0VTUw== 281 U1VDQ0VTUw==
281 -----END VERIFY_RESULT----- 282 -----END VERIFY_RESULT-----
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698