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

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
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 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 X509Certificate(OSCertHandle cert_handle, 487 X509Certificate(OSCertHandle cert_handle,
488 const OSCertHandles& intermediates); 488 const OSCertHandles& intermediates);
489 489
490 ~X509Certificate(); 490 ~X509Certificate();
491 491
492 // Common object initialization code. Called by the constructors only. 492 // Common object initialization code. Called by the constructors only.
493 void Initialize(); 493 void Initialize();
494 494
495 #if defined(OS_WIN) 495 #if defined(OS_WIN)
496 bool CheckEV(PCCERT_CHAIN_CONTEXT chain_context, 496 bool CheckEV(PCCERT_CHAIN_CONTEXT chain_context,
497 int flags, 497 bool rev_checking_enabled,
498 const char* policy_oid) const; 498 const char* policy_oid) const;
499 static bool IsIssuedByKnownRoot(PCCERT_CHAIN_CONTEXT chain_context); 499 static bool IsIssuedByKnownRoot(PCCERT_CHAIN_CONTEXT chain_context);
500 #endif 500 #endif
501 #if defined(OS_MACOSX) 501 #if defined(OS_MACOSX)
502 static bool IsIssuedByKnownRoot(CFArrayRef chain); 502 static bool IsIssuedByKnownRoot(CFArrayRef chain);
503 #endif 503 #endif
504 #if defined(USE_NSS) 504 #if defined(USE_NSS)
505 bool VerifyEV(int flags) const; 505 bool VerifyEV(int flags) const;
506 #endif 506 #endif
507 #if defined(USE_OPENSSL) 507 #if defined(USE_OPENSSL)
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 // (Marked mutable because it's used in a const method.) 602 // (Marked mutable because it's used in a const method.)
603 mutable base::Lock verification_lock_; 603 mutable base::Lock verification_lock_;
604 #endif 604 #endif
605 605
606 DISALLOW_COPY_AND_ASSIGN(X509Certificate); 606 DISALLOW_COPY_AND_ASSIGN(X509Certificate);
607 }; 607 };
608 608
609 } // namespace net 609 } // namespace net
610 610
611 #endif // NET_BASE_X509_CERTIFICATE_H_ 611 #endif // NET_BASE_X509_CERTIFICATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698