Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Side by Side Diff: net/quic/crypto/crypto_handshake.h

Issue 182523002: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed rch's comments in Patch set 1 of CL 181463007 Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_CRYPTO_HANDSHAKE_H_ 5 #ifndef NET_QUIC_CRYPTO_CRYPTO_HANDSHAKE_H_
6 #define NET_QUIC_CRYPTO_CRYPTO_HANDSHAKE_H_ 6 #define NET_QUIC_CRYPTO_CRYPTO_HANDSHAKE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 25 matching lines...) Expand all
36 QuicTag key_exchange; 36 QuicTag key_exchange;
37 QuicTag aead; 37 QuicTag aead;
38 std::string initial_premaster_secret; 38 std::string initial_premaster_secret;
39 std::string forward_secure_premaster_secret; 39 std::string forward_secure_premaster_secret;
40 CrypterPair initial_crypters; 40 CrypterPair initial_crypters;
41 CrypterPair forward_secure_crypters; 41 CrypterPair forward_secure_crypters;
42 // Normalized SNI: converted to lower case and trailing '.' removed. 42 // Normalized SNI: converted to lower case and trailing '.' removed.
43 std::string sni; 43 std::string sni;
44 std::string client_nonce; 44 std::string client_nonce;
45 std::string server_nonce; 45 std::string server_nonce;
46 // hkdf_input_suffix contains the HKDF input following the label: the GUID, 46 // hkdf_input_suffix contains the HKDF input following the label: the
47 // client hello and server config. This is only populated in the client 47 // ConnectionId, client hello and server config. This is only populated in the
48 // because only the client needs to derive the forward secure keys at a later 48 // client because only the client needs to derive the forward secure keys at a
49 // time from the initial keys. 49 // later time from the initial keys.
50 std::string hkdf_input_suffix; 50 std::string hkdf_input_suffix;
51 // cached_certs contains the cached certificates that a client used when 51 // cached_certs contains the cached certificates that a client used when
52 // sending a client hello. 52 // sending a client hello.
53 std::vector<std::string> cached_certs; 53 std::vector<std::string> cached_certs;
54 // client_key_exchange is used by clients to store the ephemeral KeyExchange 54 // client_key_exchange is used by clients to store the ephemeral KeyExchange
55 // for the connection. 55 // for the connection.
56 scoped_ptr<KeyExchange> client_key_exchange; 56 scoped_ptr<KeyExchange> client_key_exchange;
57 // channel_id is set by servers to a ChannelID key when the client correctly 57 // channel_id is set by servers to a ChannelID key when the client correctly
58 // proves possession of the corresponding private key. It consists of 32 58 // proves possession of the corresponding private key. It consists of 32
59 // bytes of x coordinate, followed by 32 bytes of y coordinate. Both values 59 // bytes of x coordinate, followed by 32 bytes of y coordinate. Both values
(...skipping 29 matching lines...) Expand all
89 89
90 const CommonCertSets* common_cert_sets; 90 const CommonCertSets* common_cert_sets;
91 91
92 private: 92 private:
93 DISALLOW_COPY_AND_ASSIGN(QuicCryptoConfig); 93 DISALLOW_COPY_AND_ASSIGN(QuicCryptoConfig);
94 }; 94 };
95 95
96 } // namespace net 96 } // namespace net
97 97
98 #endif // NET_QUIC_CRYPTO_CRYPTO_HANDSHAKE_H_ 98 #endif // NET_QUIC_CRYPTO_CRYPTO_HANDSHAKE_H_
OLDNEW
« no previous file with comments | « net/quic/congestion_control/time_loss_algorithm_test.cc ('k') | net/quic/crypto/crypto_server_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698