OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_QUIC_CRYPTO_SERVER_STREAM_H_ | 5 #ifndef NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_ |
6 #define NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_ | 6 #define NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_ |
7 | 7 |
8 #include <cstdint> | 8 #include <cstdint> |
9 #include <memory> | 9 #include <memory> |
10 #include <string> | 10 #include <string> |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 | 205 |
206 // crypto_config_ contains crypto parameters for the handshake. | 206 // crypto_config_ contains crypto parameters for the handshake. |
207 const QuicCryptoServerConfig* crypto_config_; | 207 const QuicCryptoServerConfig* crypto_config_; |
208 | 208 |
209 // compressed_certs_cache_ contains a set of most recently compressed certs. | 209 // compressed_certs_cache_ contains a set of most recently compressed certs. |
210 // Owned by QuicDispatcher. | 210 // Owned by QuicDispatcher. |
211 QuicCompressedCertsCache* compressed_certs_cache_; | 211 QuicCompressedCertsCache* compressed_certs_cache_; |
212 | 212 |
213 // Server's certificate chain and signature of the server config, as provided | 213 // Server's certificate chain and signature of the server config, as provided |
214 // by ProofSource::GetProof. | 214 // by ProofSource::GetProof. |
215 scoped_refptr<QuicCryptoProof> crypto_proof_; | 215 scoped_refptr<QuicSignedServerConfig> signed_config_; |
216 | 216 |
217 // Hash of the last received CHLO message which can be used for generating | 217 // Hash of the last received CHLO message which can be used for generating |
218 // server config update messages. | 218 // server config update messages. |
219 std::string chlo_hash_; | 219 std::string chlo_hash_; |
220 | 220 |
221 // Pointer to the active callback that will receive the result of | 221 // Pointer to the active callback that will receive the result of |
222 // the client hello validation request and forward it to | 222 // the client hello validation request and forward it to |
223 // FinishProcessingHandshakeMessage for processing. nullptr if no | 223 // FinishProcessingHandshakeMessage for processing. nullptr if no |
224 // handshake message is being validated. | 224 // handshake message is being validated. |
225 ValidateCallback* validate_client_hello_cb_; | 225 ValidateCallback* validate_client_hello_cb_; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 // ProcessClientHello and forward it to | 270 // ProcessClientHello and forward it to |
271 // FinishProcessingHandshakeMessageAfterProcessClientHello. | 271 // FinishProcessingHandshakeMessageAfterProcessClientHello. |
272 ProcessClientHelloCallback* process_client_hello_cb_; | 272 ProcessClientHelloCallback* process_client_hello_cb_; |
273 | 273 |
274 DISALLOW_COPY_AND_ASSIGN(QuicCryptoServerStream); | 274 DISALLOW_COPY_AND_ASSIGN(QuicCryptoServerStream); |
275 }; | 275 }; |
276 | 276 |
277 } // namespace net | 277 } // namespace net |
278 | 278 |
279 #endif // NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_ | 279 #endif // NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_ |
OLD | NEW |