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/quic_protocol.h" | 13 #include "net/quic/core/quic_protocol.h" |
14 #include "net/quic/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() {} |
24 | 24 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 const std::string& signature, | 84 const std::string& signature, |
85 const ProofVerifyContext* context, | 85 const ProofVerifyContext* context, |
86 std::string* error_details, | 86 std::string* error_details, |
87 std::unique_ptr<ProofVerifyDetails>* details, | 87 std::unique_ptr<ProofVerifyDetails>* details, |
88 std::unique_ptr<ProofVerifierCallback> callback) = 0; | 88 std::unique_ptr<ProofVerifierCallback> callback) = 0; |
89 }; | 89 }; |
90 | 90 |
91 } // namespace net | 91 } // namespace net |
92 | 92 |
93 #endif // NET_QUIC_CRYPTO_PROOF_VERIFIER_H_ | 93 #endif // NET_QUIC_CRYPTO_PROOF_VERIFIER_H_ |
OLD | NEW |