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

Side by Side Diff: net/data/verify_certificate_chain_unittest/intermediate-unknown-critical-extension.pem

Issue 2759023002: Improvements to the net/cert/internal error handling. (Closed)
Patch Set: fix comment Created 3 years, 9 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-intermediate-unknown-critical-extension.py] 1 [Created by: generate-intermediate-unknown-critical-extension.py]
2 2
3 Certificate chain with 1 intermediate and a trusted root. The intermediate 3 Certificate chain with 1 intermediate and a trusted root. The intermediate
4 has an unknown X.509v3 extension (OID=1.2.3.4) that is marked as critical. 4 has an unknown X.509v3 extension (OID=1.2.3.4) that is marked as critical.
5 Verifying this certificate chain is expected to fail because there is an 5 Verifying this certificate chain is expected to fail because there is an
6 unrecognized critical extension. 6 unrecognized critical extension.
7 7
8 Certificate: 8 Certificate:
9 Data: 9 Data:
10 Version: 3 (0x2) 10 Version: 3 (0x2)
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 150302120000Z 278 150302120000Z
279 -----BEGIN TIME----- 279 -----BEGIN TIME-----
280 MTUwMzAyMTIwMDAwWg== 280 MTUwMzAyMTIwMDAwWg==
281 -----END TIME----- 281 -----END TIME-----
282 282
283 FAIL 283 FAIL
284 -----BEGIN VERIFY_RESULT----- 284 -----BEGIN VERIFY_RESULT-----
285 RkFJTA== 285 RkFJTA==
286 -----END VERIFY_RESULT----- 286 -----END VERIFY_RESULT-----
287 287
288 [Context] Processing Certificate 288 ----- Certificate i=1 (CN=Intermediate) -----
289 index: 0 289 ERROR: Unconsumed critical extension
290 [Error] Unconsumed critical extension 290 oid: 2A0304
291 oid: 2A0304 291 value: 01020304
292 value: 01020304 292
293 293
294 -----BEGIN ERRORS----- 294 -----BEGIN ERRORS-----
295 W0NvbnRleHRdIFByb2Nlc3NpbmcgQ2VydGlmaWNhdGUKICBpbmRleDogMAogICAgICBbRXJyb3JdIFVu Y29uc3VtZWQgY3JpdGljYWwgZXh0ZW5zaW9uCiAgICAgICAgb2lkOiAyQTAzMDQKICAgICAgICB2YWx1 ZTogMDEwMjAzMDQK 295 LS0tLS0gQ2VydGlmaWNhdGUgaT0xIChDTj1JbnRlcm1lZGlhdGUpIC0tLS0tCkVSUk9SOiBVbmNvbnN1 bWVkIGNyaXRpY2FsIGV4dGVuc2lvbgogIG9pZDogMkEwMzA0CiAgdmFsdWU6IDAxMDIwMzA0Cgo=
296 -----END ERRORS----- 296 -----END ERRORS-----
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698