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_SOURCE_H_ | 5 #ifndef NET_QUIC_CRYPTO_PROOF_SOURCE_H_ |
6 #define NET_QUIC_CRYPTO_PROOF_SOURCE_H_ | 6 #define NET_QUIC_CRYPTO_PROOF_SOURCE_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 "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "net/base/net_export.h" | 13 #include "net/base/net_export.h" |
14 #include "net/quic/quic_protocol.h" | 14 #include "net/quic/core/quic_protocol.h" |
15 | 15 |
16 namespace net { | 16 namespace net { |
17 | 17 |
18 class IPAddress; | 18 class IPAddress; |
19 | 19 |
20 // ProofSource is an interface by which a QUIC server can obtain certificate | 20 // ProofSource is an interface by which a QUIC server can obtain certificate |
21 // chains and signatures that prove its identity. | 21 // chains and signatures that prove its identity. |
22 class NET_EXPORT_PRIVATE ProofSource { | 22 class NET_EXPORT_PRIVATE ProofSource { |
23 public: | 23 public: |
24 // Chain is a reference-counted wrapper for a std::vector of std::stringified | 24 // Chain is a reference-counted wrapper for a std::vector of std::stringified |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 const std::string& server_config, | 132 const std::string& server_config, |
133 QuicVersion quic_version, | 133 QuicVersion quic_version, |
134 base::StringPiece chlo_hash, | 134 base::StringPiece chlo_hash, |
135 bool ecdsa_ok, | 135 bool ecdsa_ok, |
136 std::unique_ptr<Callback> callback) = 0; | 136 std::unique_ptr<Callback> callback) = 0; |
137 }; | 137 }; |
138 | 138 |
139 } // namespace net | 139 } // namespace net |
140 | 140 |
141 #endif // NET_QUIC_CRYPTO_PROOF_SOURCE_H_ | 141 #endif // NET_QUIC_CRYPTO_PROOF_SOURCE_H_ |
OLD | NEW |