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_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 <string> | 8 #include <string> |
9 | 9 |
10 #include "net/base/net_export.h" | 10 #include "net/base/net_export.h" |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 const QuicTag kPUBS = TAG('P', 'U', 'B', 'S'); // Public key values | 86 const QuicTag kPUBS = TAG('P', 'U', 'B', 'S'); // Public key values |
87 const QuicTag kSCID = TAG('S', 'C', 'I', 'D'); // Server config id | 87 const QuicTag kSCID = TAG('S', 'C', 'I', 'D'); // Server config id |
88 const QuicTag kORBT = TAG('O', 'B', 'I', 'T'); // Server orbit. | 88 const QuicTag kORBT = TAG('O', 'B', 'I', 'T'); // Server orbit. |
89 const QuicTag kPDMD = TAG('P', 'D', 'M', 'D'); // Proof demand. | 89 const QuicTag kPDMD = TAG('P', 'D', 'M', 'D'); // Proof demand. |
90 const QuicTag kPROF = TAG('P', 'R', 'O', 'F'); // Proof (signature). | 90 const QuicTag kPROF = TAG('P', 'R', 'O', 'F'); // Proof (signature). |
91 const QuicTag kCCS = TAG('C', 'C', 'S', 0); // Common certificate set | 91 const QuicTag kCCS = TAG('C', 'C', 'S', 0); // Common certificate set |
92 const QuicTag kCCRT = TAG('C', 'C', 'R', 'T'); // Cached certificate | 92 const QuicTag kCCRT = TAG('C', 'C', 'R', 'T'); // Cached certificate |
93 const QuicTag kEXPY = TAG('E', 'X', 'P', 'Y'); // Expiry | 93 const QuicTag kEXPY = TAG('E', 'X', 'P', 'Y'); // Expiry |
94 const QuicTag kIFCW = TAG('I', 'F', 'C', 'W'); // Initial flow control receive | 94 const QuicTag kIFCW = TAG('I', 'F', 'C', 'W'); // Initial flow control receive |
95 // window. | 95 // window. |
| 96 const QuicTag kUAID = TAG('U', 'A', 'I', 'D'); // Client's User Agent ID. |
| 97 |
96 | 98 |
97 // Server hello tags | 99 // Server hello tags |
98 const QuicTag kCADR = TAG('C', 'A', 'D', 'R'); // Client IP address and port | 100 const QuicTag kCADR = TAG('C', 'A', 'D', 'R'); // Client IP address and port |
99 | 101 |
100 // CETV tags | 102 // CETV tags |
101 const QuicTag kCIDK = TAG('C', 'I', 'D', 'K'); // ChannelID key | 103 const QuicTag kCIDK = TAG('C', 'I', 'D', 'K'); // ChannelID key |
102 const QuicTag kCIDS = TAG('C', 'I', 'D', 'S'); // ChannelID signature | 104 const QuicTag kCIDS = TAG('C', 'I', 'D', 'S'); // ChannelID signature |
103 | 105 |
104 // Public reset tags | 106 // Public reset tags |
105 const QuicTag kRNON = TAG('R', 'N', 'O', 'N'); // Public reset nonce proof | 107 const QuicTag kRNON = TAG('R', 'N', 'O', 'N'); // Public reset nonce proof |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 // amplification factor of any mirror DoS attack. | 149 // amplification factor of any mirror DoS attack. |
148 // | 150 // |
149 // A client may pad an inchoate client hello to a size larger than | 151 // A client may pad an inchoate client hello to a size larger than |
150 // kClientHelloMinimumSize to make it more likely to receive a complete | 152 // kClientHelloMinimumSize to make it more likely to receive a complete |
151 // rejection message. | 153 // rejection message. |
152 const size_t kClientHelloMinimumSize = 1024; | 154 const size_t kClientHelloMinimumSize = 1024; |
153 | 155 |
154 } // namespace net | 156 } // namespace net |
155 | 157 |
156 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ | 158 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ |
OLD | NEW |