OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_H_ | 5 #ifndef NET_QUIC_CRYPTO_PROOF_VERIFIER_H_ |
6 #define NET_QUIC_CRYPTO_PROOF_VERIFIER_H_ | 6 #define NET_QUIC_CRYPTO_PROOF_VERIFIER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "net/base/net_export.h" | 12 #include "net/base/net_export.h" |
13 #include "net/quic/core/quic_protocol.h" | 13 #include "net/quic/core/quic_packets.h" |
14 #include "net/quic/core/quic_types.h" | 14 #include "net/quic/core/quic_types.h" |
15 | 15 |
16 namespace net { | 16 namespace net { |
17 | 17 |
18 // ProofVerifyDetails is an abstract class that acts as a container for any | 18 // ProofVerifyDetails is an abstract class that acts as a container for any |
19 // implementation specific details that a ProofVerifier wishes to return. These | 19 // implementation specific details that a ProofVerifier wishes to return. These |
20 // details are saved in the CachedState for the origin in question. | 20 // details are saved in the CachedState for the origin in question. |
21 class NET_EXPORT_PRIVATE ProofVerifyDetails { | 21 class NET_EXPORT_PRIVATE ProofVerifyDetails { |
22 public: | 22 public: |
23 virtual ~ProofVerifyDetails() {} | 23 virtual ~ProofVerifyDetails() {} |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 const std::vector<std::string>& certs, | 104 const std::vector<std::string>& certs, |
105 const ProofVerifyContext* context, | 105 const ProofVerifyContext* context, |
106 std::string* error_details, | 106 std::string* error_details, |
107 std::unique_ptr<ProofVerifyDetails>* details, | 107 std::unique_ptr<ProofVerifyDetails>* details, |
108 std::unique_ptr<ProofVerifierCallback> callback) = 0; | 108 std::unique_ptr<ProofVerifierCallback> callback) = 0; |
109 }; | 109 }; |
110 | 110 |
111 } // namespace net | 111 } // namespace net |
112 | 112 |
113 #endif // NET_QUIC_CRYPTO_PROOF_VERIFIER_H_ | 113 #endif // NET_QUIC_CRYPTO_PROOF_VERIFIER_H_ |
OLD | NEW |