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

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

Issue 15074007: Land Recent QUIC changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix for windows Created 7 years, 7 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
« no previous file with comments | « net/quic/crypto/crypto_handshake_test.cc ('k') | net/quic/crypto/crypto_server_config.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_CRYPTO_CRYPTO_PROTOCOL_H_ 5 #ifndef NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_
6 #define NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ 6 #define NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 const QuicTag kNONC = TAG('N', 'O', 'N', 'C'); // The client's nonce 53 const QuicTag kNONC = TAG('N', 'O', 'N', 'C'); // The client's nonce
54 const QuicTag kSSID = TAG('S', 'S', 'I', 'D'); // Session ID 54 const QuicTag kSSID = TAG('S', 'S', 'I', 'D'); // Session ID
55 const QuicTag kKEXS = TAG('K', 'E', 'X', 'S'); // Key exchange methods 55 const QuicTag kKEXS = TAG('K', 'E', 'X', 'S'); // Key exchange methods
56 const QuicTag kAEAD = TAG('A', 'E', 'A', 'D'); // Authenticated 56 const QuicTag kAEAD = TAG('A', 'E', 'A', 'D'); // Authenticated
57 // encryption algorithms 57 // encryption algorithms
58 const QuicTag kCGST = TAG('C', 'G', 'S', 'T'); // Congestion control 58 const QuicTag kCGST = TAG('C', 'G', 'S', 'T'); // Congestion control
59 // feedback types 59 // feedback types
60 const QuicTag kICSL = TAG('I', 'C', 'S', 'L'); // Idle connection state 60 const QuicTag kICSL = TAG('I', 'C', 'S', 'L'); // Idle connection state
61 // lifetime 61 // lifetime
62 const QuicTag kKATO = TAG('K', 'A', 'T', 'O'); // Keepalive timeout 62 const QuicTag kKATO = TAG('K', 'A', 'T', 'O'); // Keepalive timeout
63 const QuicTag kMSPC = TAG('M', 'S', 'P', 'C'); // Max streams per connection.
63 const QuicTag kSNI = TAG('S', 'N', 'I', '\0'); // Server name 64 const QuicTag kSNI = TAG('S', 'N', 'I', '\0'); // Server name
64 // indication 65 // indication
65 const QuicTag kPUBS = TAG('P', 'U', 'B', 'S'); // Public key values 66 const QuicTag kPUBS = TAG('P', 'U', 'B', 'S'); // Public key values
66 const QuicTag kSCID = TAG('S', 'C', 'I', 'D'); // Server config id 67 const QuicTag kSCID = TAG('S', 'C', 'I', 'D'); // Server config id
67 const QuicTag kORBT = TAG('O', 'B', 'I', 'T'); // Server orbit. 68 const QuicTag kORBT = TAG('O', 'B', 'I', 'T'); // Server orbit.
68 const QuicTag kPDMD = TAG('P', 'D', 'M', 'D'); // Proof demand. 69 const QuicTag kPDMD = TAG('P', 'D', 'M', 'D'); // Proof demand.
69 const QuicTag kPROF = TAG('P', 'R', 'O', 'F'); // Proof (signature). 70 const QuicTag kPROF = TAG('P', 'R', 'O', 'F'); // Proof (signature).
70 const QuicTag kCCS = TAG('C', 'C', 'S', 0); // Common certificate set 71 const QuicTag kCCS = TAG('C', 'C', 'S', 0); // Common certificate set
71 const QuicTag kCCRT = TAG('C', 'C', 'R', 'T'); // Cached certificate 72 const QuicTag kCCRT = TAG('C', 'C', 'R', 'T'); // Cached certificate
72 const QuicTag kEXPY = TAG('E', 'X', 'P', 'Y'); // Expiry 73 const QuicTag kEXPY = TAG('E', 'X', 'P', 'Y'); // Expiry
(...skipping 27 matching lines...) Expand all
100 101
101 const size_t kOrbitSize = 8; // Number of bytes in an orbit value. 102 const size_t kOrbitSize = 8; // Number of bytes in an orbit value.
102 103
103 // kProofSignatureLabel is prepended to server configs before signing to avoid 104 // kProofSignatureLabel is prepended to server configs before signing to avoid
104 // any cross-protocol attacks on the signature. 105 // any cross-protocol attacks on the signature.
105 const char kProofSignatureLabel[] = "QUIC server config signature"; 106 const char kProofSignatureLabel[] = "QUIC server config signature";
106 107
107 } // namespace net 108 } // namespace net
108 109
109 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ 110 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/crypto/crypto_handshake_test.cc ('k') | net/quic/crypto/crypto_server_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698