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

Side by Side Diff: net/quic/crypto/proof_verifier_chromium.h

Issue 1765603002: Add QUIC 31 in which the server's proof covers both the static server config as well as a hash of t… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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
« no previous file with comments | « net/quic/crypto/proof_verifier.h ('k') | net/quic/crypto/proof_verifier_chromium.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_QUIC_CRYPTO_PROOF_VERIFIER_CHROMIUM_H_ 5 #ifndef NET_QUIC_CRYPTO_PROOF_VERIFIER_CHROMIUM_H_
6 #define NET_QUIC_CRYPTO_PROOF_VERIFIER_CHROMIUM_H_ 6 #define NET_QUIC_CRYPTO_PROOF_VERIFIER_CHROMIUM_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 public: 60 public:
61 ProofVerifierChromium(CertVerifier* cert_verifier, 61 ProofVerifierChromium(CertVerifier* cert_verifier,
62 CTPolicyEnforcer* ct_policy_enforcer, 62 CTPolicyEnforcer* ct_policy_enforcer,
63 TransportSecurityState* transport_security_state, 63 TransportSecurityState* transport_security_state,
64 CTVerifier* cert_transparency_verifier); 64 CTVerifier* cert_transparency_verifier);
65 ~ProofVerifierChromium() override; 65 ~ProofVerifierChromium() override;
66 66
67 // ProofVerifier interface 67 // ProofVerifier interface
68 QuicAsyncStatus VerifyProof(const std::string& hostname, 68 QuicAsyncStatus VerifyProof(const std::string& hostname,
69 const std::string& server_config, 69 const std::string& server_config,
70 QuicVersion quic_version,
71 base::StringPiece chlo_hash,
70 const std::vector<std::string>& certs, 72 const std::vector<std::string>& certs,
71 const std::string& cert_sct, 73 const std::string& cert_sct,
72 const std::string& signature, 74 const std::string& signature,
73 const ProofVerifyContext* verify_context, 75 const ProofVerifyContext* verify_context,
74 std::string* error_details, 76 std::string* error_details,
75 scoped_ptr<ProofVerifyDetails>* verify_details, 77 scoped_ptr<ProofVerifyDetails>* verify_details,
76 ProofVerifierCallback* callback) override; 78 ProofVerifierCallback* callback) override;
77 79
78 private: 80 private:
79 class Job; 81 class Job;
(...skipping 10 matching lines...) Expand all
90 92
91 TransportSecurityState* const transport_security_state_; 93 TransportSecurityState* const transport_security_state_;
92 CTVerifier* const cert_transparency_verifier_; 94 CTVerifier* const cert_transparency_verifier_;
93 95
94 DISALLOW_COPY_AND_ASSIGN(ProofVerifierChromium); 96 DISALLOW_COPY_AND_ASSIGN(ProofVerifierChromium);
95 }; 97 };
96 98
97 } // namespace net 99 } // namespace net
98 100
99 #endif // NET_QUIC_CRYPTO_PROOF_VERIFIER_CHROMIUM_H_ 101 #endif // NET_QUIC_CRYPTO_PROOF_VERIFIER_CHROMIUM_H_
OLDNEW
« no previous file with comments | « net/quic/crypto/proof_verifier.h ('k') | net/quic/crypto/proof_verifier_chromium.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698