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

Side by Side Diff: net/data/verify_certificate_chain_unittest/issuer-and-subject-not-byte-for-byte-equal-anchor.pem

Issue 2801813004: Refactor VerifyCertificateChain test data to include a key purpose (Closed)
Patch Set: Address mattm's comment Created 3 years, 8 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 This is certificate chain where the issuer of the second certificate is not 1 This is certificate chain where the issuer of the second certificate is not
2 byte-for-byte equal to the subject of the trust anchor. 2 byte-for-byte equal to the subject of the trust anchor.
3 3
4 The names are equal when applying the comparison rules given in RFC 5280. The 4 The names are equal when applying the comparison rules given in RFC 5280. The
5 difference in byte values is due to encoding some components as UTF8String 5 difference in byte values is due to encoding some components as UTF8String
6 which were encoded in the other version as PrintableString. 6 which were encoded in the other version as PrintableString.
7 7
8 The verification should succeed. 8 The verification should succeed.
9 9
10 This certificate chain was obtained from the certificate transparency database. 10 This certificate chain was obtained from the certificate transparency database.
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 -----END TRUST_ANCHOR_UNCONSTRAINED----- 274 -----END TRUST_ANCHOR_UNCONSTRAINED-----
275 275
276 -----BEGIN TIME----- 276 -----BEGIN TIME-----
277 MTIwNTAyMDQ1ODU0Wg== 277 MTIwNTAyMDQ1ODU0Wg==
278 -----END TIME----- 278 -----END TIME-----
279 279
280 -----BEGIN VERIFY_RESULT----- 280 -----BEGIN VERIFY_RESULT-----
281 U1VDQ0VTUw== 281 U1VDQ0VTUw==
282 -----END VERIFY_RESULT----- 282 -----END VERIFY_RESULT-----
283 283
284 284 serverAuth
285 -----BEGIN KEY_PURPOSE-----
286 c2VydmVyQXV0aA==
287 -----END KEY_PURPOSE-----
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698