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

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

Issue 2865001: Add Keynectis to EV list (Closed)
Patch Set: Created 10 years, 6 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
« 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) 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(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 17 matching lines...) Expand all
28 const char* policy_oid; 28 const char* policy_oid;
29 }; 29 };
30 30
31 static const EVMetadata ev_root_ca_metadata[] = { 31 static const EVMetadata ev_root_ca_metadata[] = {
32 // AddTrust External CA Root 32 // AddTrust External CA Root
33 // https://addtrustexternalcaroot-ev.comodoca.com 33 // https://addtrustexternalcaroot-ev.comodoca.com
34 { { { 0x02, 0xfa, 0xf3, 0xe2, 0x91, 0x43, 0x54, 0x68, 0x60, 0x78, 34 { { { 0x02, 0xfa, 0xf3, 0xe2, 0x91, 0x43, 0x54, 0x68, 0x60, 0x78,
35 0x57, 0x69, 0x4d, 0xf5, 0xe4, 0x5b, 0x68, 0x85, 0x18, 0x68 } }, 35 0x57, 0x69, 0x4d, 0xf5, 0xe4, 0x5b, 0x68, 0x85, 0x18, 0x68 } },
36 "1.3.6.1.4.1.6449.1.2.1.5.1" 36 "1.3.6.1.4.1.6449.1.2.1.5.1"
37 }, 37 },
38 // CertPlus Class 2 Primary CA (KEYNECTIS)
39 // https://www.keynectis.com/
40 { { { 0x74, 0x20, 0x74, 0x41, 0x72, 0x9c, 0xdd, 0x92, 0xec, 0x79,
41 0x31, 0xd8, 0x23, 0x10, 0x8d, 0xc2, 0x81, 0x92, 0xe2, 0xbb } },
42 "1.3.6.1.4.1.22234.2.5.2.3.1"
43 },
38 // COMODO Certification Authority 44 // COMODO Certification Authority
39 // https://secure.comodo.com/ 45 // https://secure.comodo.com/
40 { { { 0x66, 0x31, 0xbf, 0x9e, 0xf7, 0x4f, 0x9e, 0xb6, 0xc9, 0xd5, 46 { { { 0x66, 0x31, 0xbf, 0x9e, 0xf7, 0x4f, 0x9e, 0xb6, 0xc9, 0xd5,
41 0xa6, 0x0c, 0xba, 0x6a, 0xbe, 0xd1, 0xf7, 0xbd, 0xef, 0x7b } }, 47 0xa6, 0x0c, 0xba, 0x6a, 0xbe, 0xd1, 0xf7, 0xbd, 0xef, 0x7b } },
42 "1.3.6.1.4.1.6449.1.2.1.5.1" 48 "1.3.6.1.4.1.6449.1.2.1.5.1"
43 }, 49 },
44 // COMODO ECC Certification Authority 50 // COMODO ECC Certification Authority
45 // https://comodoecccertificationauthority-ev.comodoca.com/ 51 // https://comodoecccertificationauthority-ev.comodoca.com/
46 { { { 0x9f, 0x74, 0x4e, 0x9f, 0x2b, 0x4d, 0xba, 0xec, 0x0f, 0x31, 52 { { { 0x9f, 0x74, 0x4e, 0x9f, 0x2b, 0x4d, 0xba, 0xec, 0x0f, 0x31,
47 0x2c, 0x50, 0xb6, 0x56, 0x3b, 0x8e, 0x2d, 0x93, 0xc3, 0x11 } }, 53 0x2c, 0x50, 0xb6, 0x56, 0x3b, 0x8e, 0x2d, 0x93, 0xc3, 0x11 } },
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 ev_policy_[metadata.fingerprint] = metadata.policy_oid; 269 ev_policy_[metadata.fingerprint] = metadata.policy_oid;
264 // Multiple root CA certs may use the same EV policy OID. Having 270 // Multiple root CA certs may use the same EV policy OID. Having
265 // duplicates in the policy_oids_ array does no harm, so we don't 271 // duplicates in the policy_oids_ array does no harm, so we don't
266 // bother detecting duplicates. 272 // bother detecting duplicates.
267 policy_oids_.push_back(metadata.policy_oid); 273 policy_oids_.push_back(metadata.policy_oid);
268 } 274 }
269 #endif 275 #endif
270 } 276 }
271 277
272 } // namespace net 278 } // 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