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

Side by Side Diff: net/base/ev_root_ca_metadata.cc

Issue 7315010: net: add Izenpe as EV CA (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 { { { 0x27, 0x96, 0xba, 0xe6, 0x3f, 0x18, 0x01, 0xe2, 0x77, 0x26, 142 { { { 0x27, 0x96, 0xba, 0xe6, 0x3f, 0x18, 0x01, 0xe2, 0x77, 0x26,
143 0x1b, 0xa0, 0xd7, 0x77, 0x70, 0x02, 0x8f, 0x20, 0xee, 0xe4 } }, 143 0x1b, 0xa0, 0xd7, 0x77, 0x70, 0x02, 0x8f, 0x20, 0xee, 0xe4 } },
144 {"2.16.840.1.114413.1.7.23.3", NULL}, 144 {"2.16.840.1.114413.1.7.23.3", NULL},
145 }, 145 },
146 // GTE CyberTrust Global Root 146 // GTE CyberTrust Global Root
147 // https://www.cybertrust.ne.jp/ 147 // https://www.cybertrust.ne.jp/
148 { { { 0x97, 0x81, 0x79, 0x50, 0xd8, 0x1c, 0x96, 0x70, 0xcc, 0x34, 148 { { { 0x97, 0x81, 0x79, 0x50, 0xd8, 0x1c, 0x96, 0x70, 0xcc, 0x34,
149 0xd8, 0x09, 0xcf, 0x79, 0x44, 0x31, 0x36, 0x7e, 0xf4, 0x74 } }, 149 0xd8, 0x09, 0xcf, 0x79, 0x44, 0x31, 0x36, 0x7e, 0xf4, 0x74 } },
150 {"1.3.6.1.4.1.6334.1.100.1", NULL}, 150 {"1.3.6.1.4.1.6334.1.100.1", NULL},
151 }, 151 },
152 // Izenpe.com
153 // The first OID is for businesses and the second for government entities.
154 // These are the test sites, respectively:
155 // https://servicios.izenpe.com
156 // https://servicios1.izenpe.com
157 { { { 0x2f, 0x78, 0x3d, 0x25, 0x52, 0x18, 0xa7, 0x4a, 0x65, 0x39,
158 0x71, 0xb5, 0x2c, 0xa2, 0x9c, 0x45, 0x15, 0x6f, 0xe9, 0x19} },
159 {"1.3.6.1.4.1.14777.6.1.1", "1.3.6.1.4.1.14777.6.1.2", NULL},
160 },
152 // Network Solutions Certificate Authority 161 // Network Solutions Certificate Authority
153 // https://www.networksolutions.com/website-packages/index.jsp 162 // https://www.networksolutions.com/website-packages/index.jsp
154 { { { 0x74, 0xf8, 0xa3, 0xc3, 0xef, 0xe7, 0xb3, 0x90, 0x06, 0x4b, 163 { { { 0x74, 0xf8, 0xa3, 0xc3, 0xef, 0xe7, 0xb3, 0x90, 0x06, 0x4b,
155 0x83, 0x90, 0x3c, 0x21, 0x64, 0x60, 0x20, 0xe5, 0xdf, 0xce } }, 164 0x83, 0x90, 0x3c, 0x21, 0x64, 0x60, 0x20, 0xe5, 0xdf, 0xce } },
156 {"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},
157 }, 166 },
158 // QuoVadis Root CA 2 167 // QuoVadis Root CA 2
159 // https://www.quovadis.bm/ 168 // https://www.quovadis.bm/
160 { { { 0xca, 0x3a, 0xfb, 0xcf, 0x12, 0x40, 0x36, 0x4b, 0x44, 0xb2, 169 { { { 0xca, 0x3a, 0xfb, 0xcf, 0x12, 0x40, 0x36, 0x4b, 0x44, 0xb2,
161 0x16, 0x20, 0x88, 0x80, 0x48, 0x39, 0x19, 0x93, 0x7c, 0xf7 } }, 170 0x16, 0x20, 0x88, 0x80, 0x48, 0x39, 0x19, 0x93, 0x7c, 0xf7 } },
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 {"2.16.840.1.114404.1.1.2.4.1", NULL}, 263 {"2.16.840.1.114404.1.1.2.4.1", NULL},
255 } 264 }
256 }; 265 };
257 266
258 #if defined(OS_WIN) 267 #if defined(OS_WIN)
259 // static 268 // static
260 const EVRootCAMetadata::PolicyOID EVRootCAMetadata::policy_oids_[] = { 269 const EVRootCAMetadata::PolicyOID EVRootCAMetadata::policy_oids_[] = {
261 // The OIDs must be sorted in ascending order. 270 // The OIDs must be sorted in ascending order.
262 "1.2.392.200091.100.721.1", 271 "1.2.392.200091.100.721.1",
263 "1.3.6.1.4.1.14370.1.6", 272 "1.3.6.1.4.1.14370.1.6",
273 "1.3.6.1.4.1.14777.6.1.1",
274 "1.3.6.1.4.1.14777.6.1.2",
264 "1.3.6.1.4.1.22234.2.5.2.3.1", 275 "1.3.6.1.4.1.22234.2.5.2.3.1",
265 "1.3.6.1.4.1.23223.1.1.1", 276 "1.3.6.1.4.1.23223.1.1.1",
266 "1.3.6.1.4.1.34697.2.1", 277 "1.3.6.1.4.1.34697.2.1",
267 "1.3.6.1.4.1.34697.2.2", 278 "1.3.6.1.4.1.34697.2.2",
268 "1.3.6.1.4.1.34697.2.3", 279 "1.3.6.1.4.1.34697.2.3",
269 "1.3.6.1.4.1.34697.2.4", 280 "1.3.6.1.4.1.34697.2.4",
270 "1.3.6.1.4.1.4146.1.1", 281 "1.3.6.1.4.1.4146.1.1",
271 "1.3.6.1.4.1.6334.1.100.1", 282 "1.3.6.1.4.1.6334.1.100.1",
272 "1.3.6.1.4.1.6449.1.2.1.5.1", 283 "1.3.6.1.4.1.6449.1.2.1.5.1",
273 "1.3.6.1.4.1.782.1.2.1.8.1", 284 "1.3.6.1.4.1.782.1.2.1.8.1",
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 // static 418 // static
408 bool EVRootCAMetadata::PolicyOIDsAreEqual(PolicyOID a, PolicyOID b) { 419 bool EVRootCAMetadata::PolicyOIDsAreEqual(PolicyOID a, PolicyOID b) {
409 #if defined(USE_NSS) 420 #if defined(USE_NSS)
410 return a == b; 421 return a == b;
411 #else 422 #else
412 return !strcmp(a, b); 423 return !strcmp(a, b);
413 #endif 424 #endif
414 } 425 }
415 426
416 } // namespace net 427 } // namespace net
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698