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

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

Issue 7792023: Merge 98741 to 782: Mark DigiNotar as untrusted (Closed) Base URL: svn://svn.chromium.org/chrome/branches/782/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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 { { { 0x5f, 0x43, 0xe5, 0xb1, 0xbf, 0xf8, 0x78, 0x8c, 0xac, 0x1c, 84 { { { 0x5f, 0x43, 0xe5, 0xb1, 0xbf, 0xf8, 0x78, 0x8c, 0xac, 0x1c,
85 0xc7, 0xca, 0x4a, 0x9a, 0xc6, 0x22, 0x2b, 0xcc, 0x34, 0xc6 } }, 85 0xc7, 0xca, 0x4a, 0x9a, 0xc6, 0x22, 0x2b, 0xcc, 0x34, 0xc6 } },
86 "1.3.6.1.4.1.6334.1.100.1" 86 "1.3.6.1.4.1.6334.1.100.1"
87 }, 87 },
88 // DigiCert High Assurance EV Root CA 88 // DigiCert High Assurance EV Root CA
89 // https://www.digicert.com 89 // https://www.digicert.com
90 { { { 0x5f, 0xb7, 0xee, 0x06, 0x33, 0xe2, 0x59, 0xdb, 0xad, 0x0c, 90 { { { 0x5f, 0xb7, 0xee, 0x06, 0x33, 0xe2, 0x59, 0xdb, 0xad, 0x0c,
91 0x4c, 0x9a, 0xe6, 0xd3, 0x8f, 0x1a, 0x61, 0xc7, 0xdc, 0x25 } }, 91 0x4c, 0x9a, 0xe6, 0xd3, 0x8f, 0x1a, 0x61, 0xc7, 0xdc, 0x25 } },
92 "2.16.840.1.114412.2.1" 92 "2.16.840.1.114412.2.1"
93 }, 93 },
94 // DigiNotar Root CA
95 // https://www.evssl.nl
96 // https://www.polisdirect.nl
97 { { { 0xc0, 0x60, 0xed, 0x44, 0xcb, 0xd8, 0x81, 0xbd, 0x0e, 0xf8,
98 0x6c, 0x0b, 0xa2, 0x87, 0xdd, 0xcf, 0x81, 0x67, 0x47, 0x8c } },
99 "2.16.528.1.1001.1.1.1.12.6.1.1.1"
100 },
101 // Entrust.net Secure Server Certification Authority 94 // Entrust.net Secure Server Certification Authority
102 // https://www.entrust.net/ 95 // https://www.entrust.net/
103 { { { 0x99, 0xa6, 0x9b, 0xe6, 0x1a, 0xfe, 0x88, 0x6b, 0x4d, 0x2b, 96 { { { 0x99, 0xa6, 0x9b, 0xe6, 0x1a, 0xfe, 0x88, 0x6b, 0x4d, 0x2b,
104 0x82, 0x00, 0x7c, 0xb8, 0x54, 0xfc, 0x31, 0x7e, 0x15, 0x39 } }, 97 0x82, 0x00, 0x7c, 0xb8, 0x54, 0xfc, 0x31, 0x7e, 0x15, 0x39 } },
105 "2.16.840.1.114028.10.1.2" 98 "2.16.840.1.114028.10.1.2"
106 }, 99 },
107 // Entrust Root Certification Authority 100 // Entrust Root Certification Authority
108 // https://www.entrust.net/ 101 // https://www.entrust.net/
109 { { { 0xb3, 0x1e, 0xb1, 0xb7, 0x40, 0xe3, 0x6c, 0x84, 0x02, 0xda, 102 { { { 0xb3, 0x1e, 0xb1, 0xb7, 0x40, 0xe3, 0x6c, 0x84, 0x02, 0xda,
110 0xdc, 0x37, 0xd4, 0x4d, 0xf5, 0xd4, 0x67, 0x49, 0x52, 0xf9 } }, 103 0xdc, 0x37, 0xd4, 0x4d, 0xf5, 0xd4, 0x67, 0x49, 0x52, 0xf9 } },
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 "1.3.6.1.4.1.23223.1.1.1", 262 "1.3.6.1.4.1.23223.1.1.1",
270 "1.3.6.1.4.1.34697.2.1", 263 "1.3.6.1.4.1.34697.2.1",
271 "1.3.6.1.4.1.34697.2.2", 264 "1.3.6.1.4.1.34697.2.2",
272 "1.3.6.1.4.1.34697.2.3", 265 "1.3.6.1.4.1.34697.2.3",
273 "1.3.6.1.4.1.34697.2.4", 266 "1.3.6.1.4.1.34697.2.4",
274 "1.3.6.1.4.1.4146.1.1", 267 "1.3.6.1.4.1.4146.1.1",
275 "1.3.6.1.4.1.6334.1.100.1", 268 "1.3.6.1.4.1.6334.1.100.1",
276 "1.3.6.1.4.1.6449.1.2.1.5.1", 269 "1.3.6.1.4.1.6449.1.2.1.5.1",
277 "1.3.6.1.4.1.782.1.2.1.8.1", 270 "1.3.6.1.4.1.782.1.2.1.8.1",
278 "1.3.6.1.4.1.8024.0.2.100.1.2", 271 "1.3.6.1.4.1.8024.0.2.100.1.2",
279 "2.16.528.1.1001.1.1.1.12.6.1.1.1",
280 "2.16.756.1.89.1.2.1.1", 272 "2.16.756.1.89.1.2.1.1",
281 "2.16.840.1.113733.1.7.23.6", 273 "2.16.840.1.113733.1.7.23.6",
282 "2.16.840.1.113733.1.7.48.1", 274 "2.16.840.1.113733.1.7.48.1",
283 "2.16.840.1.114028.10.1.2", 275 "2.16.840.1.114028.10.1.2",
284 "2.16.840.1.114171.500.9", 276 "2.16.840.1.114171.500.9",
285 "2.16.840.1.114404.1.1.2.4.1", 277 "2.16.840.1.114404.1.1.2.4.1",
286 "2.16.840.1.114412.2.1", 278 "2.16.840.1.114412.2.1",
287 "2.16.840.1.114413.1.7.23.3", 279 "2.16.840.1.114413.1.7.23.3",
288 "2.16.840.1.114414.1.7.23.3", 280 "2.16.840.1.114414.1.7.23.3",
289 }; 281 };
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 // static 386 // static
395 bool EVRootCAMetadata::PolicyOIDsAreEqual(PolicyOID a, PolicyOID b) { 387 bool EVRootCAMetadata::PolicyOIDsAreEqual(PolicyOID a, PolicyOID b) {
396 #if defined(USE_NSS) 388 #if defined(USE_NSS)
397 return a == b; 389 return a == b;
398 #else 390 #else
399 return !strcmp(a, b); 391 return !strcmp(a, b);
400 #endif 392 #endif
401 } 393 }
402 394
403 } // namespace net 395 } // 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