OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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(OS_LINUX) | 7 #if defined(OS_LINUX) |
8 // Work around https://bugzilla.mozilla.org/show_bug.cgi?id=455424 | 8 // Work around https://bugzilla.mozilla.org/show_bug.cgi?id=455424 |
9 // until NSS 3.12.2 comes out and we update to it. | 9 // until NSS 3.12.2 comes out and we update to it. |
10 #define Lock FOO_NSS_Lock | 10 #define Lock FOO_NSS_Lock |
(...skipping 188 matching lines...) Loading... |
199 { { { 0x74, 0x2c, 0x31, 0x92, 0xe6, 0x07, 0xe4, 0x24, 0xeb, 0x45, | 199 { { { 0x74, 0x2c, 0x31, 0x92, 0xe6, 0x07, 0xe4, 0x24, 0xeb, 0x45, |
200 0x49, 0x54, 0x2b, 0xe1, 0xbb, 0xc5, 0x3e, 0x61, 0x74, 0xe2 } }, | 200 0x49, 0x54, 0x2b, 0xe1, 0xbb, 0xc5, 0x3e, 0x61, 0x74, 0xe2 } }, |
201 "2.16.840.1.113733.1.7.23.6" | 201 "2.16.840.1.113733.1.7.23.6" |
202 }, | 202 }, |
203 // VeriSign Class 3 Public Primary Certification Authority - G5 | 203 // VeriSign Class 3 Public Primary Certification Authority - G5 |
204 // https://www.verisign.com/ | 204 // https://www.verisign.com/ |
205 { { { 0x4e, 0xb6, 0xd5, 0x78, 0x49, 0x9b, 0x1c, 0xcf, 0x5f, 0x58, | 205 { { { 0x4e, 0xb6, 0xd5, 0x78, 0x49, 0x9b, 0x1c, 0xcf, 0x5f, 0x58, |
206 0x1e, 0xad, 0x56, 0xbe, 0x3d, 0x9b, 0x67, 0x44, 0xa5, 0xe5 } }, | 206 0x1e, 0xad, 0x56, 0xbe, 0x3d, 0x9b, 0x67, 0x44, 0xa5, 0xe5 } }, |
207 "2.16.840.1.113733.1.7.23.6" | 207 "2.16.840.1.113733.1.7.23.6" |
208 }, | 208 }, |
| 209 // Wells Fargo WellsSecure Public Root Certificate Authority |
| 210 // https://nerys.wellsfargo.com/test.html |
| 211 { { { 0xe7, 0xb4, 0xf6, 0x9d, 0x61, 0xec, 0x90, 0x69, 0xdb, 0x7e, |
| 212 0x90, 0xa7, 0x40, 0x1a, 0x3c, 0xf4, 0x7d, 0x4f, 0xe8, 0xee } }, |
| 213 "2.16.840.1.114171.500.9" |
| 214 }, |
209 // XRamp Global Certification Authority | 215 // XRamp Global Certification Authority |
210 { { { 0xb8, 0x01, 0x86, 0xd1, 0xeb, 0x9c, 0x86, 0xa5, 0x41, 0x04, | 216 { { { 0xb8, 0x01, 0x86, 0xd1, 0xeb, 0x9c, 0x86, 0xa5, 0x41, 0x04, |
211 0xcf, 0x30, 0x54, 0xf3, 0x4c, 0x52, 0xb7, 0xe5, 0x58, 0xc6 } }, | 217 0xcf, 0x30, 0x54, 0xf3, 0x4c, 0x52, 0xb7, 0xe5, 0x58, 0xc6 } }, |
212 "2.16.840.1.114404.1.1.2.4.1" | 218 "2.16.840.1.114404.1.1.2.4.1" |
213 } | 219 } |
214 }; | 220 }; |
215 | 221 |
216 // static | 222 // static |
217 EVRootCAMetadata* EVRootCAMetadata::GetInstance() { | 223 EVRootCAMetadata* EVRootCAMetadata::GetInstance() { |
218 return Singleton<EVRootCAMetadata>::get(); | 224 return Singleton<EVRootCAMetadata>::get(); |
(...skipping 42 matching lines...) Loading... |
261 ev_policy_[metadata.fingerprint] = metadata.policy_oid; | 267 ev_policy_[metadata.fingerprint] = metadata.policy_oid; |
262 // Multiple root CA certs may use the same EV policy OID. Having | 268 // Multiple root CA certs may use the same EV policy OID. Having |
263 // duplicates in the policy_oids_ array does no harm, so we don't | 269 // duplicates in the policy_oids_ array does no harm, so we don't |
264 // bother detecting duplicates. | 270 // bother detecting duplicates. |
265 policy_oids_.push_back(metadata.policy_oid); | 271 policy_oids_.push_back(metadata.policy_oid); |
266 } | 272 } |
267 #endif | 273 #endif |
268 } | 274 } |
269 | 275 |
270 } // namespace net | 276 } // namespace net |
OLD | NEW |