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

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

Issue 2865603002: X509NameAttribute::ValueAsString: Decode TeletexString as Latin1. (Closed)
Patch Set: add comment/todo about nacl difference Created 3 years, 7 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.
7 7
8 SEQUENCE { 8 SEQUENCE {
9 SEQUENCE { 9 SEQUENCE {
10 [0] { 10 [0] {
(...skipping 25 matching lines...) Expand all
36 # organizationName 36 # organizationName
37 OBJECT_IDENTIFIER { 2.5.4.10 } 37 OBJECT_IDENTIFIER { 2.5.4.10 }
38 UTF8String { "Internet Widgits Pty Ltd" } 38 UTF8String { "Internet Widgits Pty Ltd" }
39 } 39 }
40 } 40 }
41 } 41 }
42 SEQUENCE { 42 SEQUENCE {
43 UTCTime { "140423205040Z" } 43 UTCTime { "140423205040Z" }
44 UTCTime { "170422205040Z" } 44 UTCTime { "170422205040Z" }
45 } 45 }
46 #-----BEGIN SUBJECT-----
46 SEQUENCE { 47 SEQUENCE {
47 SET { 48 SET {
48 SEQUENCE { 49 SEQUENCE {
49 # countryName 50 # countryName
50 OBJECT_IDENTIFIER { 2.5.4.6 } 51 OBJECT_IDENTIFIER { 2.5.4.6 }
51 PrintableString { "AU" } 52 PrintableString { "AU" }
52 } 53 }
53 } 54 }
54 SET { 55 SET {
55 SEQUENCE { 56 SEQUENCE {
56 # stateOrProvinceName 57 # stateOrProvinceName
57 OBJECT_IDENTIFIER { 2.5.4.8 } 58 OBJECT_IDENTIFIER { 2.5.4.8 }
58 UTF8String { "Some-State" } 59 UTF8String { "Some-State" }
59 } 60 }
60 } 61 }
61 SET { 62 SET {
62 SEQUENCE { 63 SEQUENCE {
63 # organizationName 64 # organizationName
64 OBJECT_IDENTIFIER { 2.5.4.10 } 65 OBJECT_IDENTIFIER { 2.5.4.10 }
65 UTF8String { "Internet Widgits Pty Ltd" } 66 UTF8String { "Internet Widgits Pty Ltd" }
66 } 67 }
67 } 68 }
68 } 69 }
70 #-----END SUBJECT-----
69 SEQUENCE { 71 SEQUENCE {
70 SEQUENCE { 72 SEQUENCE {
71 # rsaEncryption 73 # rsaEncryption
72 OBJECT_IDENTIFIER { 1.2.840.113549.1.1.1 } 74 OBJECT_IDENTIFIER { 1.2.840.113549.1.1.1 }
73 NULL {} 75 NULL {}
74 } 76 }
75 BIT_STRING { 77 BIT_STRING {
76 `00` 78 `00`
77 SEQUENCE { 79 SEQUENCE {
78 INTEGER { `00d82bc8a632e462ff4df3d0ad598b45a7bdf147bf09587b22bd35ae972 58694a080c0b41f7691674631d01084b7221e70239172c8e96d793a8577800fc4951675c54a714cc 8633fa3f2639c2a4f9afacbc1716e288528a0271e651cae07d55b6f2d43ed2b90b18caf246daee91 73a05c1bfb81cae653b1b58c2d9aed6aa6788f1` } 80 INTEGER { `00d82bc8a632e462ff4df3d0ad598b45a7bdf147bf09587b22bd35ae972 58694a080c0b41f7691674631d01084b7221e70239172c8e96d793a8577800fc4951675c54a714cc 8633fa3f2639c2a4f9afacbc1716e288528a0271e651cae07d55b6f2d43ed2b90b18caf246daee91 73a05c1bfb81cae653b1b58c2d9aed6aa6788f1` }
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 #-----END EXTENSIONS----- 120 #-----END EXTENSIONS-----
119 } 121 }
120 } 122 }
121 SEQUENCE { 123 SEQUENCE {
122 # sha1WithRSAEncryption 124 # sha1WithRSAEncryption
123 OBJECT_IDENTIFIER { 1.2.840.113549.1.1.5 } 125 OBJECT_IDENTIFIER { 1.2.840.113549.1.1.5 }
124 NULL {} 126 NULL {}
125 } 127 }
126 BIT_STRING { `003be8786d95d63d6af713192c1bc288ae22abf48d32f57c7167cf2dd11cc2c3 87e2e9be895ce434ab4891c23f95ae2b479e25786b4f9a10a472fdcff7020cb00a08a45ae2e5747e 111d39606ac91f69f32e6326dc9eef6b7a0ae1545798aa729178047e1f8f654d1f0b12ac9c240f84 141a552d1fbbf09d09b2085c5932658026` } 128 BIT_STRING { `003be8786d95d63d6af713192c1bc288ae22abf48d32f57c7167cf2dd11cc2c3 87e2e9be895ce434ab4891c23f95ae2b479e25786b4f9a10a472fdcff7020cb00a08a45ae2e5747e 111d39606ac91f69f32e6326dc9eef6b7a0ae1545798aa729178047e1f8f654d1f0b12ac9c240f84 141a552d1fbbf09d09b2085c5932658026` }
127 } 129 }
OLDNEW
« no previous file with comments | « net/data/parse_certificate_unittest/subject_t61string_actual.pem ('k') | net/test/test_data_directory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698