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

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

Issue 7795014: Mark DigiNotar as untrusted (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 years, 3 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 | net/base/x509_certificate.h » ('j') | 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 { { { 0x5f, 0x43, 0xe5, 0xb1, 0xbf, 0xf8, 0x78, 0x8c, 0xac, 0x1c, 82 { { { 0x5f, 0x43, 0xe5, 0xb1, 0xbf, 0xf8, 0x78, 0x8c, 0xac, 0x1c,
83 0xc7, 0xca, 0x4a, 0x9a, 0xc6, 0x22, 0x2b, 0xcc, 0x34, 0xc6 } }, 83 0xc7, 0xca, 0x4a, 0x9a, 0xc6, 0x22, 0x2b, 0xcc, 0x34, 0xc6 } },
84 {"1.3.6.1.4.1.6334.1.100.1", NULL}, 84 {"1.3.6.1.4.1.6334.1.100.1", NULL},
85 }, 85 },
86 // DigiCert High Assurance EV Root CA 86 // DigiCert High Assurance EV Root CA
87 // https://www.digicert.com 87 // https://www.digicert.com
88 { { { 0x5f, 0xb7, 0xee, 0x06, 0x33, 0xe2, 0x59, 0xdb, 0xad, 0x0c, 88 { { { 0x5f, 0xb7, 0xee, 0x06, 0x33, 0xe2, 0x59, 0xdb, 0xad, 0x0c,
89 0x4c, 0x9a, 0xe6, 0xd3, 0x8f, 0x1a, 0x61, 0xc7, 0xdc, 0x25 } }, 89 0x4c, 0x9a, 0xe6, 0xd3, 0x8f, 0x1a, 0x61, 0xc7, 0xdc, 0x25 } },
90 {"2.16.840.1.114412.2.1", NULL}, 90 {"2.16.840.1.114412.2.1", NULL},
91 }, 91 },
92 // DigiNotar Root CA
93 // https://www.evssl.nl
94 // https://www.polisdirect.nl
95 { { { 0xc0, 0x60, 0xed, 0x44, 0xcb, 0xd8, 0x81, 0xbd, 0x0e, 0xf8,
96 0x6c, 0x0b, 0xa2, 0x87, 0xdd, 0xcf, 0x81, 0x67, 0x47, 0x8c } },
97 {"2.16.528.1.1001.1.1.1.12.6.1.1.1", NULL},
98 },
99 // Entrust.net Secure Server Certification Authority 92 // Entrust.net Secure Server Certification Authority
100 // https://www.entrust.net/ 93 // https://www.entrust.net/
101 { { { 0x99, 0xa6, 0x9b, 0xe6, 0x1a, 0xfe, 0x88, 0x6b, 0x4d, 0x2b, 94 { { { 0x99, 0xa6, 0x9b, 0xe6, 0x1a, 0xfe, 0x88, 0x6b, 0x4d, 0x2b,
102 0x82, 0x00, 0x7c, 0xb8, 0x54, 0xfc, 0x31, 0x7e, 0x15, 0x39 } }, 95 0x82, 0x00, 0x7c, 0xb8, 0x54, 0xfc, 0x31, 0x7e, 0x15, 0x39 } },
103 {"2.16.840.1.114028.10.1.2", NULL}, 96 {"2.16.840.1.114028.10.1.2", NULL},
104 }, 97 },
105 // Entrust Root Certification Authority 98 // Entrust Root Certification Authority
106 // https://www.entrust.net/ 99 // https://www.entrust.net/
107 { { { 0xb3, 0x1e, 0xb1, 0xb7, 0x40, 0xe3, 0x6c, 0x84, 0x02, 0xda, 100 { { { 0xb3, 0x1e, 0xb1, 0xb7, 0x40, 0xe3, 0x6c, 0x84, 0x02, 0xda,
108 0xdc, 0x37, 0xd4, 0x4d, 0xf5, 0xd4, 0x67, 0x49, 0x52, 0xf9 } }, 101 0xdc, 0x37, 0xd4, 0x4d, 0xf5, 0xd4, 0x67, 0x49, 0x52, 0xf9 } },
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 "1.3.6.1.4.1.23223.1.1.1", 269 "1.3.6.1.4.1.23223.1.1.1",
277 "1.3.6.1.4.1.34697.2.1", 270 "1.3.6.1.4.1.34697.2.1",
278 "1.3.6.1.4.1.34697.2.2", 271 "1.3.6.1.4.1.34697.2.2",
279 "1.3.6.1.4.1.34697.2.3", 272 "1.3.6.1.4.1.34697.2.3",
280 "1.3.6.1.4.1.34697.2.4", 273 "1.3.6.1.4.1.34697.2.4",
281 "1.3.6.1.4.1.4146.1.1", 274 "1.3.6.1.4.1.4146.1.1",
282 "1.3.6.1.4.1.6334.1.100.1", 275 "1.3.6.1.4.1.6334.1.100.1",
283 "1.3.6.1.4.1.6449.1.2.1.5.1", 276 "1.3.6.1.4.1.6449.1.2.1.5.1",
284 "1.3.6.1.4.1.782.1.2.1.8.1", 277 "1.3.6.1.4.1.782.1.2.1.8.1",
285 "1.3.6.1.4.1.8024.0.2.100.1.2", 278 "1.3.6.1.4.1.8024.0.2.100.1.2",
286 "2.16.528.1.1001.1.1.1.12.6.1.1.1",
287 "2.16.756.1.89.1.2.1.1", 279 "2.16.756.1.89.1.2.1.1",
288 "2.16.840.1.113733.1.7.23.6", 280 "2.16.840.1.113733.1.7.23.6",
289 "2.16.840.1.113733.1.7.48.1", 281 "2.16.840.1.113733.1.7.48.1",
290 "2.16.840.1.114028.10.1.2", 282 "2.16.840.1.114028.10.1.2",
291 "2.16.840.1.114171.500.9", 283 "2.16.840.1.114171.500.9",
292 "2.16.840.1.114404.1.1.2.4.1", 284 "2.16.840.1.114404.1.1.2.4.1",
293 "2.16.840.1.114412.2.1", 285 "2.16.840.1.114412.2.1",
294 "2.16.840.1.114413.1.7.23.3", 286 "2.16.840.1.114413.1.7.23.3",
295 "2.16.840.1.114414.1.7.23.3", 287 "2.16.840.1.114414.1.7.23.3",
296 }; 288 };
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 // static 410 // static
419 bool EVRootCAMetadata::PolicyOIDsAreEqual(PolicyOID a, PolicyOID b) { 411 bool EVRootCAMetadata::PolicyOIDsAreEqual(PolicyOID a, PolicyOID b) {
420 #if defined(USE_NSS) 412 #if defined(USE_NSS)
421 return a == b; 413 return a == b;
422 #else 414 #else
423 return !strcmp(a, b); 415 return !strcmp(a, b);
424 #endif 416 #endif
425 } 417 }
426 418
427 } // namespace net 419 } // namespace net
OLDNEW
« no previous file with comments | « no previous file | net/base/x509_certificate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698