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

Side by Side Diff: net/data/verify_certificate_chain_unittest/intermediate-lacks-basic-constraints.pem

Issue 2282183004: Add error information to VerifyCertificateChain(). (Closed)
Patch Set: fix typo in README 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-intermediate-lacks-basic-constraints.py] 1 [Created by: generate-intermediate-lacks-basic-constraints.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 lacks the basic constraints extension, and hence is expected to fail validation 4 lacks the basic constraints extension, and hence is expected to fail validation
5 (RFC 5280 requires v3 signing certificates have a BasicConstaints). 5 (RFC 5280 requires v3 signing certificates have a BasicConstaints).
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)
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 IzAhoB+gHYYbaHR0cDovL3VybC1mb3ItY3JsL1Jvb3QuY3JsMA4GA1UdDwEB/wQE 262 IzAhoB+gHYYbaHR0cDovL3VybC1mb3ItY3JsL1Jvb3QuY3JsMA4GA1UdDwEB/wQE
263 AwIBBjAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQA++Y7CGtfq 263 AwIBBjAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQA++Y7CGtfq
264 sXEDbW2p3ulFHaujJkyVSxWtnb6UqiBXg7IylgbBN5pqGEGtEztSI6EKH/yM+juI 264 sXEDbW2p3ulFHaujJkyVSxWtnb6UqiBXg7IylgbBN5pqGEGtEztSI6EKH/yM+juI
265 Q9FeHlmABqUKXpVmPT3LSrQ4d6b6BCnowbi190kHrlPdYmQ8cExktVSETQQ/bYaA 265 Q9FeHlmABqUKXpVmPT3LSrQ4d6b6BCnowbi190kHrlPdYmQ8cExktVSETQQ/bYaA
266 neIrpIgcOHT8g8NgyIZk9dcp9+SOAqlHpuFGD8S1IlnxpxuuhnxwMtSMGX+nbYIL 266 neIrpIgcOHT8g8NgyIZk9dcp9+SOAqlHpuFGD8S1IlnxpxuuhnxwMtSMGX+nbYIL
267 80I3ArU980HVfWeXgHia4gZUGLywf113FbuJy00pDAKrs7dARDosSi5UQ3//sF/a 267 80I3ArU980HVfWeXgHia4gZUGLywf113FbuJy00pDAKrs7dARDosSi5UQ3//sF/a
268 xV84Ds5OGO3z+ZnwfAFpyg4VhR7/ty0EbDtb+X9wvAysFrfRtPF0hK1z55/HyeqT 268 xV84Ds5OGO3z+ZnwfAFpyg4VhR7/ty0EbDtb+X9wvAysFrfRtPF0hK1z55/HyeqT
269 2fHGp1m/kk7s 269 2fHGp1m/kk7s
270 -----END TRUST_ANCHOR_UNCONSTRAINED----- 270 -----END TRUST_ANCHOR_UNCONSTRAINED-----
271 271
272 150302120000Z
272 -----BEGIN TIME----- 273 -----BEGIN TIME-----
273 MTUwMzAyMTIwMDAwWg== 274 MTUwMzAyMTIwMDAwWg==
274 -----END TIME----- 275 -----END TIME-----
275 276
277 FAIL
276 -----BEGIN VERIFY_RESULT----- 278 -----BEGIN VERIFY_RESULT-----
277 RkFJTA== 279 RkFJTA==
278 -----END VERIFY_RESULT----- 280 -----END VERIFY_RESULT-----
281
282 Does not have Basic Constraints
283 -----BEGIN ERRORS-----
284 RG9lcyBub3QgaGF2ZSBCYXNpYyBDb25zdHJhaW50cw==
285 -----END ERRORS-----
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698