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

Unified Diff: net/cert/multi_threaded_cert_verifier.h

Issue 1081913003: Route OCSP stapling through CertVerifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@boringnss
Patch Set: yet another CrOS-only Verify call Created 5 years, 8 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/cert/mock_cert_verifier.cc ('k') | net/cert/multi_threaded_cert_verifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/multi_threaded_cert_verifier.h
diff --git a/net/cert/multi_threaded_cert_verifier.h b/net/cert/multi_threaded_cert_verifier.h
index 6880960c83902c3e38cb339ae826c6b9c08388e9..bfcab387872dba94b7d97eaaee0704076e90bf9c 100644
--- a/net/cert/multi_threaded_cert_verifier.h
+++ b/net/cert/multi_threaded_cert_verifier.h
@@ -56,6 +56,7 @@ class NET_EXPORT_PRIVATE MultiThreadedCertVerifier
// CertVerifier implementation
int Verify(X509Certificate* cert,
const std::string& hostname,
+ const std::string& ocsp_response,
int flags,
CRLSet* crl_set,
CertVerifyResult* verify_result,
@@ -65,6 +66,8 @@ class NET_EXPORT_PRIVATE MultiThreadedCertVerifier
void CancelRequest(CertVerifier::RequestHandle req) override;
+ bool SupportsOCSPStapling() override;
+
private:
friend class CertVerifierWorker; // Calls HandleResult.
friend class CertVerifierRequest;
@@ -84,6 +87,7 @@ class NET_EXPORT_PRIVATE MultiThreadedCertVerifier
RequestParams(const SHA1HashValue& cert_fingerprint_arg,
const SHA1HashValue& ca_fingerprint_arg,
const std::string& hostname_arg,
+ const std::string& ocsp_response_arg,
int flags_arg,
const CertificateList& additional_trust_anchors);
~RequestParams();
@@ -131,6 +135,7 @@ class NET_EXPORT_PRIVATE MultiThreadedCertVerifier
void HandleResult(X509Certificate* cert,
const std::string& hostname,
+ const std::string& ocsp_response,
int flags,
const CertificateList& additional_trust_anchors,
int error,
« no previous file with comments | « net/cert/mock_cert_verifier.cc ('k') | net/cert/multi_threaded_cert_verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698