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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 { { { 0x74, 0x20, 0x74, 0x41, 0x72, 0x9c, 0xdd, 0x92, 0xec, 0x79, | 64 { { { 0x74, 0x20, 0x74, 0x41, 0x72, 0x9c, 0xdd, 0x92, 0xec, 0x79, |
65 0x31, 0xd8, 0x23, 0x10, 0x8d, 0xc2, 0x81, 0x92, 0xe2, 0xbb } }, | 65 0x31, 0xd8, 0x23, 0x10, 0x8d, 0xc2, 0x81, 0x92, 0xe2, 0xbb } }, |
66 {"1.3.6.1.4.1.22234.2.5.2.3.1", NULL}, | 66 {"1.3.6.1.4.1.22234.2.5.2.3.1", NULL}, |
67 }, | 67 }, |
68 // COMODO Certification Authority | 68 // COMODO Certification Authority |
69 // https://secure.comodo.com/ | 69 // https://secure.comodo.com/ |
70 { { { 0x66, 0x31, 0xbf, 0x9e, 0xf7, 0x4f, 0x9e, 0xb6, 0xc9, 0xd5, | 70 { { { 0x66, 0x31, 0xbf, 0x9e, 0xf7, 0x4f, 0x9e, 0xb6, 0xc9, 0xd5, |
71 0xa6, 0x0c, 0xba, 0x6a, 0xbe, 0xd1, 0xf7, 0xbd, 0xef, 0x7b } }, | 71 0xa6, 0x0c, 0xba, 0x6a, 0xbe, 0xd1, 0xf7, 0xbd, 0xef, 0x7b } }, |
72 {"1.3.6.1.4.1.6449.1.2.1.5.1", NULL}, | 72 {"1.3.6.1.4.1.6449.1.2.1.5.1", NULL}, |
73 }, | 73 }, |
| 74 // COMODO Certification Authority (reissued certificate with NotBefore of Jan |
| 75 // 1 00:00:00 2011 GMT) |
| 76 // https://secure.comodo.com/ |
| 77 { { { 0xee, 0x86, 0x93, 0x87, 0xff, 0xfd, 0x83, 0x49, 0xab, 0x5a, |
| 78 0xd1, 0x43, 0x22, 0x58, 0x87, 0x89, 0xa4, 0x57, 0xb0, 0x12 } }, |
| 79 {"1.3.6.1.4.1.6449.1.2.1.5.1", NULL}, |
| 80 }, |
74 // COMODO ECC Certification Authority | 81 // COMODO ECC Certification Authority |
75 // https://comodoecccertificationauthority-ev.comodoca.com/ | 82 // https://comodoecccertificationauthority-ev.comodoca.com/ |
76 { { { 0x9f, 0x74, 0x4e, 0x9f, 0x2b, 0x4d, 0xba, 0xec, 0x0f, 0x31, | 83 { { { 0x9f, 0x74, 0x4e, 0x9f, 0x2b, 0x4d, 0xba, 0xec, 0x0f, 0x31, |
77 0x2c, 0x50, 0xb6, 0x56, 0x3b, 0x8e, 0x2d, 0x93, 0xc3, 0x11 } }, | 84 0x2c, 0x50, 0xb6, 0x56, 0x3b, 0x8e, 0x2d, 0x93, 0xc3, 0x11 } }, |
78 {"1.3.6.1.4.1.6449.1.2.1.5.1", NULL}, | 85 {"1.3.6.1.4.1.6449.1.2.1.5.1", NULL}, |
79 }, | 86 }, |
80 // Cybertrust Global Root | 87 // Cybertrust Global Root |
81 // https://evup.cybertrust.ne.jp/ctj-ev-upgrader/evseal.gif | 88 // https://evup.cybertrust.ne.jp/ctj-ev-upgrader/evseal.gif |
82 { { { 0x5f, 0x43, 0xe5, 0xb1, 0xbf, 0xf8, 0x78, 0x8c, 0xac, 0x1c, | 89 { { { 0x5f, 0x43, 0xe5, 0xb1, 0xbf, 0xf8, 0x78, 0x8c, 0xac, 0x1c, |
83 0xc7, 0xca, 0x4a, 0x9a, 0xc6, 0x22, 0x2b, 0xcc, 0x34, 0xc6 } }, | 90 0xc7, 0xca, 0x4a, 0x9a, 0xc6, 0x22, 0x2b, 0xcc, 0x34, 0xc6 } }, |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 { { { 0x2f, 0x78, 0x3d, 0x25, 0x52, 0x18, 0xa7, 0x4a, 0x65, 0x39, | 157 { { { 0x2f, 0x78, 0x3d, 0x25, 0x52, 0x18, 0xa7, 0x4a, 0x65, 0x39, |
151 0x71, 0xb5, 0x2c, 0xa2, 0x9c, 0x45, 0x15, 0x6f, 0xe9, 0x19} }, | 158 0x71, 0xb5, 0x2c, 0xa2, 0x9c, 0x45, 0x15, 0x6f, 0xe9, 0x19} }, |
152 {"1.3.6.1.4.1.14777.6.1.1", "1.3.6.1.4.1.14777.6.1.2", NULL}, | 159 {"1.3.6.1.4.1.14777.6.1.1", "1.3.6.1.4.1.14777.6.1.2", NULL}, |
153 }, | 160 }, |
154 // Network Solutions Certificate Authority | 161 // Network Solutions Certificate Authority |
155 // https://www.networksolutions.com/website-packages/index.jsp | 162 // https://www.networksolutions.com/website-packages/index.jsp |
156 { { { 0x74, 0xf8, 0xa3, 0xc3, 0xef, 0xe7, 0xb3, 0x90, 0x06, 0x4b, | 163 { { { 0x74, 0xf8, 0xa3, 0xc3, 0xef, 0xe7, 0xb3, 0x90, 0x06, 0x4b, |
157 0x83, 0x90, 0x3c, 0x21, 0x64, 0x60, 0x20, 0xe5, 0xdf, 0xce } }, | 164 0x83, 0x90, 0x3c, 0x21, 0x64, 0x60, 0x20, 0xe5, 0xdf, 0xce } }, |
158 {"1.3.6.1.4.1.782.1.2.1.8.1", NULL}, | 165 {"1.3.6.1.4.1.782.1.2.1.8.1", NULL}, |
159 }, | 166 }, |
| 167 // Network Solutions Certificate Authority (reissued certificate with |
| 168 // NotBefore of Jan 1 00:00:00 2011 GMT). |
| 169 // https://www.networksolutions.com/website-packages/index.jsp |
| 170 { { { 0x71, 0x89, 0x9a, 0x67, 0xbf, 0x33, 0xaf, 0x31, 0xbe, 0xfd, |
| 171 0xc0, 0x71, 0xf8, 0xf7, 0x33, 0xb1, 0x83, 0x85, 0x63, 0x32 } }, |
| 172 {"1.3.6.1.4.1.782.1.2.1.8.1", NULL}, |
| 173 }, |
160 // QuoVadis Root CA 2 | 174 // QuoVadis Root CA 2 |
161 // https://www.quovadis.bm/ | 175 // https://www.quovadis.bm/ |
162 { { { 0xca, 0x3a, 0xfb, 0xcf, 0x12, 0x40, 0x36, 0x4b, 0x44, 0xb2, | 176 { { { 0xca, 0x3a, 0xfb, 0xcf, 0x12, 0x40, 0x36, 0x4b, 0x44, 0xb2, |
163 0x16, 0x20, 0x88, 0x80, 0x48, 0x39, 0x19, 0x93, 0x7c, 0xf7 } }, | 177 0x16, 0x20, 0x88, 0x80, 0x48, 0x39, 0x19, 0x93, 0x7c, 0xf7 } }, |
164 {"1.3.6.1.4.1.8024.0.2.100.1.2", NULL}, | 178 {"1.3.6.1.4.1.8024.0.2.100.1.2", NULL}, |
165 }, | 179 }, |
166 // SecureTrust CA, SecureTrust Corporation | 180 // SecureTrust CA, SecureTrust Corporation |
167 // https://www.securetrust.com | 181 // https://www.securetrust.com |
168 // https://www.trustwave.com/ | 182 // https://www.trustwave.com/ |
169 { { { 0x87, 0x82, 0xc6, 0xc3, 0x04, 0x35, 0x3b, 0xcf, 0xd2, 0x96, | 183 { { { 0x87, 0x82, 0xc6, 0xc3, 0x04, 0x35, 0x3b, 0xcf, 0xd2, 0x96, |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 // static | 424 // static |
411 bool EVRootCAMetadata::PolicyOIDsAreEqual(PolicyOID a, PolicyOID b) { | 425 bool EVRootCAMetadata::PolicyOIDsAreEqual(PolicyOID a, PolicyOID b) { |
412 #if defined(USE_NSS) | 426 #if defined(USE_NSS) |
413 return a == b; | 427 return a == b; |
414 #else | 428 #else |
415 return !strcmp(a, b); | 429 return !strcmp(a, b); |
416 #endif | 430 #endif |
417 } | 431 } |
418 | 432 |
419 } // namespace net | 433 } // namespace net |
OLD | NEW |