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

Side by Side Diff: net/base/x509_certificate.h

Issue 9699043: net: fallback to online revocation checks for EV status when CRLSet has expired. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 8 years, 9 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 | « net/base/crl_set_unittest.cc ('k') | net/base/x509_certificate.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef NET_BASE_X509_CERTIFICATE_H_ 5 #ifndef NET_BASE_X509_CERTIFICATE_H_
6 #define NET_BASE_X509_CERTIFICATE_H_ 6 #define NET_BASE_X509_CERTIFICATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string.h> 9 #include <string.h>
10 10
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 X509Certificate(OSCertHandle cert_handle, 488 X509Certificate(OSCertHandle cert_handle,
489 const OSCertHandles& intermediates); 489 const OSCertHandles& intermediates);
490 490
491 ~X509Certificate(); 491 ~X509Certificate();
492 492
493 // Common object initialization code. Called by the constructors only. 493 // Common object initialization code. Called by the constructors only.
494 void Initialize(); 494 void Initialize();
495 495
496 #if defined(OS_WIN) 496 #if defined(OS_WIN)
497 bool CheckEV(PCCERT_CHAIN_CONTEXT chain_context, 497 bool CheckEV(PCCERT_CHAIN_CONTEXT chain_context,
498 int flags, 498 bool rev_checking_enabled,
499 const char* policy_oid) const; 499 const char* policy_oid) const;
500 static bool IsIssuedByKnownRoot(PCCERT_CHAIN_CONTEXT chain_context); 500 static bool IsIssuedByKnownRoot(PCCERT_CHAIN_CONTEXT chain_context);
501 #endif 501 #endif
502 #if defined(OS_MACOSX) 502 #if defined(OS_MACOSX)
503 static bool IsIssuedByKnownRoot(CFArrayRef chain); 503 static bool IsIssuedByKnownRoot(CFArrayRef chain);
504 #endif 504 #endif
505 #if defined(USE_NSS) 505 #if defined(USE_NSS)
506 bool VerifyEV(int flags, CRLSet* crl_set) const; 506 bool VerifyEV(int flags, CRLSet* crl_set) const;
507 #endif 507 #endif
508 #if defined(USE_OPENSSL) 508 #if defined(USE_OPENSSL)
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 // (Marked mutable because it's used in a const method.) 603 // (Marked mutable because it's used in a const method.)
604 mutable base::Lock verification_lock_; 604 mutable base::Lock verification_lock_;
605 #endif 605 #endif
606 606
607 DISALLOW_COPY_AND_ASSIGN(X509Certificate); 607 DISALLOW_COPY_AND_ASSIGN(X509Certificate);
608 }; 608 };
609 609
610 } // namespace net 610 } // namespace net
611 611
612 #endif // NET_BASE_X509_CERTIFICATE_H_ 612 #endif // NET_BASE_X509_CERTIFICATE_H_
OLDNEW
« no previous file with comments | « net/base/crl_set_unittest.cc ('k') | net/base/x509_certificate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698