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

Unified Diff: net/base/cert_verifier.h

Issue 8342054: net: enable CRL sets behind a command line flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/cert_database_nss_unittest.cc ('k') | net/base/cert_verifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/cert_verifier.h
diff --git a/net/base/cert_verifier.h b/net/base/cert_verifier.h
index 5ad64b03c21e38ed6e124bb5fab82b4c81397a0d..68000fe912a6961c43fd0cf178cc570bc7da7e79 100644
--- a/net/base/cert_verifier.h
+++ b/net/base/cert_verifier.h
@@ -24,6 +24,7 @@ namespace net {
class BoundNetLog;
class CertVerifierJob;
class CertVerifierWorker;
+class CRLSet;
class X509Certificate;
// CachedCertVerifyResult contains the result of a certificate verification.
@@ -92,6 +93,9 @@ class NET_EXPORT CertVerifier : NON_EXPORTED_BASE(public base::NonThreadSafe),
// VERIFY_REV_CHECKING_ENABLED is not set), EV certificate verification will
// not be performed.
//
+ // |crl_set| points to an optional CRLSet structure which can be used to
+ // avoid revocation checks over the network.
+ //
// |callback| must not be null. ERR_IO_PENDING is returned if the operation
// could not be completed synchronously, in which case the result code will
// be passed to the callback when available.
@@ -102,6 +106,7 @@ class NET_EXPORT CertVerifier : NON_EXPORTED_BASE(public base::NonThreadSafe),
int Verify(X509Certificate* cert,
const std::string& hostname,
int flags,
+ CRLSet* crl_set,
CertVerifyResult* verify_result,
const CompletionCallback& callback,
RequestHandle* out_req,
@@ -202,6 +207,7 @@ class SingleRequestCertVerifier {
int Verify(X509Certificate* cert,
const std::string& hostname,
int flags,
+ CRLSet* crl_set,
CertVerifyResult* verify_result,
const CompletionCallback& callback,
const BoundNetLog& net_log);
« no previous file with comments | « net/base/cert_database_nss_unittest.cc ('k') | net/base/cert_verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698