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

Side by Side Diff: net/data/verify_certificate_chain_unittest/expired-target.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-expired-target.py] 1 [Created by: generate-expired-target.py]
2 2
3 Certificate chain with 1 intermediate, where the target is expired (violates 3 Certificate chain with 1 intermediate, where the target is expired (violates
4 validity.notAfter). Verification is expected to fail. 4 validity.notAfter). Verification is expected to fail.
5 5
6 Certificate: 6 Certificate:
7 Data: 7 Data:
8 Version: 3 (0x2) 8 Version: 3 (0x2)
9 Serial Number: 1 (0x1) 9 Serial Number: 1 (0x1)
10 Signature Algorithm: sha256WithRSAEncryption 10 Signature Algorithm: sha256WithRSAEncryption
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 VB6JH9aYnjz3 271 VB6JH9aYnjz3
272 -----END TRUST_ANCHOR_UNCONSTRAINED----- 272 -----END TRUST_ANCHOR_UNCONSTRAINED-----
273 273
274 -----BEGIN TIME----- 274 -----BEGIN TIME-----
275 MTUwMzAyMTIwMDAwWg== 275 MTUwMzAyMTIwMDAwWg==
276 -----END TIME----- 276 -----END TIME-----
277 277
278 -----BEGIN VERIFY_RESULT----- 278 -----BEGIN VERIFY_RESULT-----
279 RkFJTA== 279 RkFJTA==
280 -----END VERIFY_RESULT----- 280 -----END VERIFY_RESULT-----
281
282 -----BEGIN ERRORS-----
283 VGltZSBpcyBhZnRlciBub3RBZnRlcg==
284 -----END ERRORS-----
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698