| 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 const QuicTag kPROF = TAG('P', 'R', 'O', 'F'); // Proof (signature). | 140 const QuicTag kPROF = TAG('P', 'R', 'O', 'F'); // Proof (signature). |
| 141 const QuicTag kCCS = TAG('C', 'C', 'S', 0); // Common certificate set | 141 const QuicTag kCCS = TAG('C', 'C', 'S', 0); // Common certificate set |
| 142 const QuicTag kCCRT = TAG('C', 'C', 'R', 'T'); // Cached certificate | 142 const QuicTag kCCRT = TAG('C', 'C', 'R', 'T'); // Cached certificate |
| 143 const QuicTag kEXPY = TAG('E', 'X', 'P', 'Y'); // Expiry | 143 const QuicTag kEXPY = TAG('E', 'X', 'P', 'Y'); // Expiry |
| 144 const QuicTag kSFCW = TAG('S', 'F', 'C', 'W'); // Initial stream flow control | 144 const QuicTag kSFCW = TAG('S', 'F', 'C', 'W'); // Initial stream flow control |
| 145 // receive window. | 145 // receive window. |
| 146 const QuicTag kCFCW = TAG('C', 'F', 'C', 'W'); // Initial session/connection | 146 const QuicTag kCFCW = TAG('C', 'F', 'C', 'W'); // Initial session/connection |
| 147 // flow control receive window. | 147 // flow control receive window. |
| 148 const QuicTag kUAID = TAG('U', 'A', 'I', 'D'); // Client's User Agent ID. | 148 const QuicTag kUAID = TAG('U', 'A', 'I', 'D'); // Client's User Agent ID. |
| 149 const QuicTag kXLCT = TAG('X', 'L', 'C', 'T'); // Expected leaf certificate. | 149 const QuicTag kXLCT = TAG('X', 'L', 'C', 'T'); // Expected leaf certificate. |
| 150 const QuicTag kTBKP = TAG('T', 'B', 'K', 'P'); // Token Binding key params. |
| 150 | 151 |
| 151 // Rejection tags | 152 // Rejection tags |
| 152 const QuicTag kRREJ = TAG('R', 'R', 'E', 'J'); // Reasons for server sending | 153 const QuicTag kRREJ = TAG('R', 'R', 'E', 'J'); // Reasons for server sending |
| 153 // Stateless Reject tags | 154 // Stateless Reject tags |
| 154 const QuicTag kRCID = TAG('R', 'C', 'I', 'D'); // Server-designated | 155 const QuicTag kRCID = TAG('R', 'C', 'I', 'D'); // Server-designated |
| 155 // connection ID | 156 // connection ID |
| 156 // Server hello tags | 157 // Server hello tags |
| 157 const QuicTag kCADR = TAG('C', 'A', 'D', 'R'); // Client IP address and port | 158 const QuicTag kCADR = TAG('C', 'A', 'D', 'R'); // Client IP address and port |
| 158 | 159 |
| 159 // CETV tags | 160 // CETV tags |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 // amplification factor of any mirror DoS attack. | 210 // amplification factor of any mirror DoS attack. |
| 210 // | 211 // |
| 211 // A client may pad an inchoate client hello to a size larger than | 212 // A client may pad an inchoate client hello to a size larger than |
| 212 // kClientHelloMinimumSize to make it more likely to receive a complete | 213 // kClientHelloMinimumSize to make it more likely to receive a complete |
| 213 // rejection message. | 214 // rejection message. |
| 214 const size_t kClientHelloMinimumSize = 1024; | 215 const size_t kClientHelloMinimumSize = 1024; |
| 215 | 216 |
| 216 } // namespace net | 217 } // namespace net |
| 217 | 218 |
| 218 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ | 219 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ |
| OLD | NEW |