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

Unified Diff: net/quic/crypto/proof_verifier_chromium.h

Issue 1454993002: QUIC - Code to verify SCT tag with certificate transparency verifier (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase with TOT - use scoped_refptr<const CTLogVerifier> Created 5 years, 1 month 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/http/http_network_session.cc ('k') | net/quic/crypto/proof_verifier_chromium.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/crypto/proof_verifier_chromium.h
diff --git a/net/quic/crypto/proof_verifier_chromium.h b/net/quic/crypto/proof_verifier_chromium.h
index 77a67144d8d3c707afcf936c245abe6723ba1196..215bc3d2845885366827240a12aff7a2725f63c8 100644
--- a/net/quic/crypto/proof_verifier_chromium.h
+++ b/net/quic/crypto/proof_verifier_chromium.h
@@ -14,6 +14,7 @@
#include "base/memory/scoped_ptr.h"
#include "net/base/net_export.h"
#include "net/cert/cert_verify_result.h"
+#include "net/cert/ct_verify_result.h"
#include "net/cert/x509_certificate.h"
#include "net/log/net_log.h"
#include "net/quic/crypto/proof_verifier.h"
@@ -22,6 +23,7 @@ namespace net {
class CertPolicyEnforcer;
class CertVerifier;
+class CTVerifier;
class TransportSecurityState;
// ProofVerifyDetailsChromium is the implementation-specific information that a
@@ -34,6 +36,7 @@ class NET_EXPORT_PRIVATE ProofVerifyDetailsChromium
ProofVerifyDetails* Clone() const override;
CertVerifyResult cert_verify_result;
+ ct::CTVerifyResult ct_verify_result;
// pinning_failure_log contains a message produced by
// TransportSecurityState::PKPState::CheckPublicKeyPins in the event of a
@@ -58,7 +61,8 @@ class NET_EXPORT_PRIVATE ProofVerifierChromium : public ProofVerifier {
public:
ProofVerifierChromium(CertVerifier* cert_verifier,
CertPolicyEnforcer* cert_policy_enforcer,
- TransportSecurityState* transport_security_state);
+ TransportSecurityState* transport_security_state,
+ CTVerifier* cert_transparency_verifier);
~ProofVerifierChromium() override;
// ProofVerifier interface
@@ -86,6 +90,7 @@ class NET_EXPORT_PRIVATE ProofVerifierChromium : public ProofVerifier {
CertPolicyEnforcer* const cert_policy_enforcer_;
TransportSecurityState* const transport_security_state_;
+ CTVerifier* const cert_transparency_verifier_;
DISALLOW_COPY_AND_ASSIGN(ProofVerifierChromium);
};
« no previous file with comments | « net/http/http_network_session.cc ('k') | net/quic/crypto/proof_verifier_chromium.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698