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

Side by Side Diff: net/data/verify_certificate_chain_unittest/target-unknown-critical-extension.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-target-unknown-critical-extension.py] 1 [Created by: generate-target-unknown-critical-extension.py]
2 2
3 Certificate chain with 1 intermediate and a trusted root. The target 3 Certificate chain with 1 intermediate and a trusted root. The target
4 certificate has an unknown X.509v3 extension (OID=1.2.3.4) that is marked as 4 certificate has an unknown X.509v3 extension (OID=1.2.3.4) that is marked as
5 critical. Verifying this certificate chain is expected to fail because there is 5 critical. Verifying this certificate chain is expected to fail because there is
6 an unrecognized critical extension. 6 an unrecognized critical extension.
7 7
8 Certificate: 8 Certificate:
9 Data: 9 Data:
10 Version: 3 (0x2) 10 Version: 3 (0x2)
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 7JG/PgqjI+/u 275 7JG/PgqjI+/u
276 -----END TRUST_ANCHOR_UNCONSTRAINED----- 276 -----END TRUST_ANCHOR_UNCONSTRAINED-----
277 277
278 -----BEGIN TIME----- 278 -----BEGIN TIME-----
279 MTUwMzAyMTIwMDAwWg== 279 MTUwMzAyMTIwMDAwWg==
280 -----END TIME----- 280 -----END TIME-----
281 281
282 -----BEGIN VERIFY_RESULT----- 282 -----BEGIN VERIFY_RESULT-----
283 RkFJTA== 283 RkFJTA==
284 -----END VERIFY_RESULT----- 284 -----END VERIFY_RESULT-----
285
286 -----BEGIN ERRORS-----
287 VW5jb25zdW1lZCBjcml0aWNhbCBleHRlbnNpb24=
288 -----END ERRORS-----
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698