OLD | NEW |
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_CHROMIUM_CRYPTO_PROOF_VERIFIER_CHROMIUM_H_ | 5 #ifndef NET_QUIC_CHROMIUM_CRYPTO_PROOF_VERIFIER_CHROMIUM_H_ |
6 #define NET_QUIC_CHROMIUM_CRYPTO_PROOF_VERIFIER_CHROMIUM_H_ | 6 #define NET_QUIC_CHROMIUM_CRYPTO_PROOF_VERIFIER_CHROMIUM_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 #include <string> | 10 #include <string> |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 TransportSecurityState* transport_security_state, | 71 TransportSecurityState* transport_security_state, |
72 CTVerifier* cert_transparency_verifier); | 72 CTVerifier* cert_transparency_verifier); |
73 ~ProofVerifierChromium() override; | 73 ~ProofVerifierChromium() override; |
74 | 74 |
75 // ProofVerifier interface | 75 // ProofVerifier interface |
76 QuicAsyncStatus VerifyProof( | 76 QuicAsyncStatus VerifyProof( |
77 const std::string& hostname, | 77 const std::string& hostname, |
78 const uint16_t port, | 78 const uint16_t port, |
79 const std::string& server_config, | 79 const std::string& server_config, |
80 QuicVersion quic_version, | 80 QuicVersion quic_version, |
81 base::StringPiece chlo_hash, | 81 QuicStringPiece chlo_hash, |
82 const std::vector<std::string>& certs, | 82 const std::vector<std::string>& certs, |
83 const std::string& cert_sct, | 83 const std::string& cert_sct, |
84 const std::string& signature, | 84 const std::string& signature, |
85 const ProofVerifyContext* verify_context, | 85 const ProofVerifyContext* verify_context, |
86 std::string* error_details, | 86 std::string* error_details, |
87 std::unique_ptr<ProofVerifyDetails>* verify_details, | 87 std::unique_ptr<ProofVerifyDetails>* verify_details, |
88 std::unique_ptr<ProofVerifierCallback> callback) override; | 88 std::unique_ptr<ProofVerifierCallback> callback) override; |
89 QuicAsyncStatus VerifyCertChain( | 89 QuicAsyncStatus VerifyCertChain( |
90 const std::string& hostname, | 90 const std::string& hostname, |
91 const std::vector<std::string>& certs, | 91 const std::vector<std::string>& certs, |
(...skipping 16 matching lines...) Expand all Loading... |
108 | 108 |
109 TransportSecurityState* const transport_security_state_; | 109 TransportSecurityState* const transport_security_state_; |
110 CTVerifier* const cert_transparency_verifier_; | 110 CTVerifier* const cert_transparency_verifier_; |
111 | 111 |
112 DISALLOW_COPY_AND_ASSIGN(ProofVerifierChromium); | 112 DISALLOW_COPY_AND_ASSIGN(ProofVerifierChromium); |
113 }; | 113 }; |
114 | 114 |
115 } // namespace net | 115 } // namespace net |
116 | 116 |
117 #endif // NET_QUIC_CHROMIUM_CRYPTO_PROOF_VERIFIER_CHROMIUM_H_ | 117 #endif // NET_QUIC_CHROMIUM_CRYPTO_PROOF_VERIFIER_CHROMIUM_H_ |
OLD | NEW |