OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "net/base/ev_root_ca_metadata.h" | 5 #include "net/base/ev_root_ca_metadata.h" |
6 | 6 |
7 #if defined(USE_NSS) | 7 #if defined(USE_NSS) |
8 #include <cert.h> | 8 #include <cert.h> |
9 #include <pkcs11n.h> | 9 #include <pkcs11n.h> |
10 #include <secerr.h> | 10 #include <secerr.h> |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 { { { 0xd2, 0x32, 0x09, 0xad, 0x23, 0xd3, 0x14, 0x23, 0x21, 0x74, | 115 { { { 0xd2, 0x32, 0x09, 0xad, 0x23, 0xd3, 0x14, 0x23, 0x21, 0x74, |
116 0xe4, 0x0d, 0x7f, 0x9d, 0x62, 0x13, 0x97, 0x86, 0x63, 0x3a } }, | 116 0xe4, 0x0d, 0x7f, 0x9d, 0x62, 0x13, 0x97, 0x86, 0x63, 0x3a } }, |
117 "1.3.6.1.4.1.14370.1.6" | 117 "1.3.6.1.4.1.14370.1.6" |
118 }, | 118 }, |
119 // GeoTrust Primary Certification Authority | 119 // GeoTrust Primary Certification Authority |
120 // https://www.geotrust.com/ | 120 // https://www.geotrust.com/ |
121 { { { 0x32, 0x3c, 0x11, 0x8e, 0x1b, 0xf7, 0xb8, 0xb6, 0x52, 0x54, | 121 { { { 0x32, 0x3c, 0x11, 0x8e, 0x1b, 0xf7, 0xb8, 0xb6, 0x52, 0x54, |
122 0xe2, 0xe2, 0x10, 0x0d, 0xd6, 0x02, 0x90, 0x37, 0xf0, 0x96 } }, | 122 0xe2, 0xe2, 0x10, 0x0d, 0xd6, 0x02, 0x90, 0x37, 0xf0, 0x96 } }, |
123 "1.3.6.1.4.1.14370.1.6" | 123 "1.3.6.1.4.1.14370.1.6" |
124 }, | 124 }, |
125 // GlobalSign | 125 // GlobalSign Root CA - R2 |
126 // https://www.globalsign.com/ | 126 // https://www.globalsign.com/ |
127 { { { 0x75, 0xe0, 0xab, 0xb6, 0x13, 0x85, 0x12, 0x27, 0x1c, 0x04, | 127 { { { 0x75, 0xe0, 0xab, 0xb6, 0x13, 0x85, 0x12, 0x27, 0x1c, 0x04, |
128 0xf8, 0x5f, 0xdd, 0xde, 0x38, 0xe4, 0xb7, 0x24, 0x2e, 0xfe } }, | 128 0xf8, 0x5f, 0xdd, 0xde, 0x38, 0xe4, 0xb7, 0x24, 0x2e, 0xfe } }, |
129 "1.3.6.1.4.1.4146.1.1" | 129 "1.3.6.1.4.1.4146.1.1" |
130 }, | 130 }, |
131 // GlobalSign Root CA | 131 // GlobalSign Root CA |
132 { { { 0xb1, 0xbc, 0x96, 0x8b, 0xd4, 0xf4, 0x9d, 0x62, 0x2a, 0xa8, | 132 { { { 0xb1, 0xbc, 0x96, 0x8b, 0xd4, 0xf4, 0x9d, 0x62, 0x2a, 0xa8, |
133 0x9a, 0x81, 0xf2, 0x15, 0x01, 0x52, 0xa4, 0x1d, 0x82, 0x9c } }, | 133 0x9a, 0x81, 0xf2, 0x15, 0x01, 0x52, 0xa4, 0x1d, 0x82, 0x9c } }, |
134 "1.3.6.1.4.1.4146.1.1" | 134 "1.3.6.1.4.1.4146.1.1" |
135 }, | 135 }, |
| 136 // GlobalSign Root CA - R3 |
| 137 // https://2029.globalsign.com/ |
| 138 { { { 0xd6, 0x9b, 0x56, 0x11, 0x48, 0xf0, 0x1c, 0x77, 0xc5, 0x45, |
| 139 0x78, 0xc1, 0x09, 0x26, 0xdf, 0x5b, 0x85, 0x69, 0x76, 0xad } }, |
| 140 "1.3.6.1.4.1.4146.1.1" |
| 141 }, |
136 // Go Daddy Class 2 Certification Authority | 142 // Go Daddy Class 2 Certification Authority |
137 // https://www.godaddy.com/ | 143 // https://www.godaddy.com/ |
138 { { { 0x27, 0x96, 0xba, 0xe6, 0x3f, 0x18, 0x01, 0xe2, 0x77, 0x26, | 144 { { { 0x27, 0x96, 0xba, 0xe6, 0x3f, 0x18, 0x01, 0xe2, 0x77, 0x26, |
139 0x1b, 0xa0, 0xd7, 0x77, 0x70, 0x02, 0x8f, 0x20, 0xee, 0xe4 } }, | 145 0x1b, 0xa0, 0xd7, 0x77, 0x70, 0x02, 0x8f, 0x20, 0xee, 0xe4 } }, |
140 "2.16.840.1.114413.1.7.23.3" | 146 "2.16.840.1.114413.1.7.23.3" |
141 }, | 147 }, |
142 // GTE CyberTrust Global Root | 148 // GTE CyberTrust Global Root |
143 // https://www.cybertrust.ne.jp/ | 149 // https://www.cybertrust.ne.jp/ |
144 { { { 0x97, 0x81, 0x79, 0x50, 0xd8, 0x1c, 0x96, 0x70, 0xcc, 0x34, | 150 { { { 0x97, 0x81, 0x79, 0x50, 0xd8, 0x1c, 0x96, 0x70, 0xcc, 0x34, |
145 0xd8, 0x09, 0xcf, 0x79, 0x44, 0x31, 0x36, 0x7e, 0xf4, 0x74 } }, | 151 0xd8, 0x09, 0xcf, 0x79, 0x44, 0x31, 0x36, 0x7e, 0xf4, 0x74 } }, |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 // static | 394 // static |
389 bool EVRootCAMetadata::PolicyOIDsAreEqual(PolicyOID a, PolicyOID b) { | 395 bool EVRootCAMetadata::PolicyOIDsAreEqual(PolicyOID a, PolicyOID b) { |
390 #if defined(USE_NSS) | 396 #if defined(USE_NSS) |
391 return a == b; | 397 return a == b; |
392 #else | 398 #else |
393 return !strcmp(a, b); | 399 return !strcmp(a, b); |
394 #endif | 400 #endif |
395 } | 401 } |
396 | 402 |
397 } // namespace net | 403 } // namespace net |
OLD | NEW |