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

Side by Side Diff: net/data/parse_certificate_unittest/v3_certificate_template.txt

Issue 2913253003: Convert Windows to use X509CertificateBytes. (Closed)
Patch Set: rebase Created 3 years, 6 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 cert.pem from BoringSSL's tests. 1 # This is cert.pem from BoringSSL's tests.
2 # https://boringssl.googlesource.com/boringssl/+/5acc423517ec9d53e6cf2cd1b968405 e0972c745/ssl/test/runner/cert.pem 2 # https://boringssl.googlesource.com/boringssl/+/5acc423517ec9d53e6cf2cd1b968405 e0972c745/ssl/test/runner/cert.pem
3 3
4 # This file is itself valid ascii-der, however uses comments to name various 4 # This file is itself valid ascii-der, however uses comments to name various
5 # sections (using BEGIN and END). These named sections can be overlapping, and 5 # sections (using BEGIN and END). These named sections can be overlapping, and
6 # are replaced for generating various test data. 6 # are replaced for generating various test data.
davidben 2017/06/15 23:55:18 Wow, I had no idea you all had built a templater l
mattm 2017/06/16 21:39:31 Yep, Eric came up with this. Ingenious :)
7 7
8 SEQUENCE { 8 SEQUENCE {
9 SEQUENCE { 9 SEQUENCE {
10 [0] { 10 [0] {
11 INTEGER { 2 } 11 INTEGER { 2 }
12 } 12 }
13 #-----BEGIN SERIAL----- 13 #-----BEGIN SERIAL-----
14 INTEGER { `00fbb04c2eab109b0c` } 14 INTEGER { `00fbb04c2eab109b0c` }
15 #-----END SERIAL----- 15 #-----END SERIAL-----
16 #-----BEGIN SIGNATURE_ALGORITHM-----
16 SEQUENCE { 17 SEQUENCE {
17 # sha1WithRSAEncryption 18 # sha1WithRSAEncryption
18 OBJECT_IDENTIFIER { 1.2.840.113549.1.1.5 } 19 OBJECT_IDENTIFIER { 1.2.840.113549.1.1.5 }
19 NULL {} 20 NULL {}
20 } 21 }
22 #-----END SIGNATURE_ALGORITHM-----
21 SEQUENCE { 23 SEQUENCE {
22 SET { 24 SET {
23 SEQUENCE { 25 SEQUENCE {
24 # countryName 26 # countryName
25 OBJECT_IDENTIFIER { 2.5.4.6 } 27 OBJECT_IDENTIFIER { 2.5.4.6 }
26 PrintableString { "AU" } 28 PrintableString { "AU" }
27 } 29 }
28 } 30 }
29 SET { 31 SET {
30 SEQUENCE { 32 SEQUENCE {
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 #-----END EXTENSIONS----- 124 #-----END EXTENSIONS-----
123 } 125 }
124 } 126 }
125 SEQUENCE { 127 SEQUENCE {
126 # sha1WithRSAEncryption 128 # sha1WithRSAEncryption
127 OBJECT_IDENTIFIER { 1.2.840.113549.1.1.5 } 129 OBJECT_IDENTIFIER { 1.2.840.113549.1.1.5 }
128 NULL {} 130 NULL {}
129 } 131 }
130 BIT_STRING { `003be8786d95d63d6af713192c1bc288ae22abf48d32f57c7167cf2dd11cc2c3 87e2e9be895ce434ab4891c23f95ae2b479e25786b4f9a10a472fdcff7020cb00a08a45ae2e5747e 111d39606ac91f69f32e6326dc9eef6b7a0ae1545798aa729178047e1f8f654d1f0b12ac9c240f84 141a552d1fbbf09d09b2085c5932658026` } 132 BIT_STRING { `003be8786d95d63d6af713192c1bc288ae22abf48d32f57c7167cf2dd11cc2c3 87e2e9be895ce434ab4891c23f95ae2b479e25786b4f9a10a472fdcff7020cb00a08a45ae2e5747e 111d39606ac91f69f32e6326dc9eef6b7a0ae1545798aa729178047e1f8f654d1f0b12ac9c240f84 141a552d1fbbf09d09b2085c5932658026` }
131 } 133 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698