LEFT | RIGHT |
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ | 1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ |
2 /* | 2 /* |
3 * This file contains prototypes for the public SSL functions. | 3 * This file contains prototypes for the public SSL functions. |
4 * | 4 * |
5 * This Source Code Form is subject to the terms of the Mozilla Public | 5 * This Source Code Form is subject to the terms of the Mozilla Public |
6 * License, v. 2.0. If a copy of the MPL was not distributed with this | 6 * License, v. 2.0. If a copy of the MPL was not distributed with this |
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 7 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
8 | 8 |
9 #ifndef __sslt_h_ | 9 #ifndef __sslt_h_ |
10 #define __sslt_h_ | 10 #define __sslt_h_ |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 typedef enum { | 228 typedef enum { |
229 ssl_server_name_xtn = 0, | 229 ssl_server_name_xtn = 0, |
230 ssl_cert_status_xtn = 5, | 230 ssl_cert_status_xtn = 5, |
231 #ifndef NSS_DISABLE_ECC | 231 #ifndef NSS_DISABLE_ECC |
232 ssl_elliptic_curves_xtn = 10, | 232 ssl_elliptic_curves_xtn = 10, |
233 ssl_ec_point_formats_xtn = 11, | 233 ssl_ec_point_formats_xtn = 11, |
234 #endif | 234 #endif |
235 ssl_signature_algorithms_xtn = 13, | 235 ssl_signature_algorithms_xtn = 13, |
236 ssl_use_srtp_xtn = 14, | 236 ssl_use_srtp_xtn = 14, |
237 ssl_app_layer_protocol_xtn = 16, | 237 ssl_app_layer_protocol_xtn = 16, |
| 238 /* signed_certificate_timestamp extension, RFC 6962 */ |
| 239 ssl_signed_cert_timestamp_xtn = 18, |
238 ssl_padding_xtn = 21, | 240 ssl_padding_xtn = 21, |
239 ssl_extended_master_secret_xtn = 23, | 241 ssl_extended_master_secret_xtn = 23, |
240 ssl_session_ticket_xtn = 35, | 242 ssl_session_ticket_xtn = 35, |
241 ssl_next_proto_nego_xtn = 13172, | 243 ssl_next_proto_nego_xtn = 13172, |
242 ssl_renegotiation_info_xtn = 0xff01, | 244 ssl_renegotiation_info_xtn = 0xff01, |
243 ssl_tls13_draft_version_xtn = 0xff02 /* experimental number */ | 245 ssl_tls13_draft_version_xtn = 0xff02 /* experimental number */ |
244 } SSLExtensionType; | 246 } SSLExtensionType; |
245 | 247 |
246 #define SSL_MAX_EXTENSIONS 12 /* doesn't include ssl_padding_xtn. */ | 248 #define SSL_MAX_EXTENSIONS 13 /* doesn't include ssl_padding_xtn. */ |
247 | 249 |
248 typedef enum { | 250 typedef enum { |
249 ssl_dhe_group_none = 0, | 251 ssl_dhe_group_none = 0, |
250 ssl_ff_dhe_2048_group = 1, | 252 ssl_ff_dhe_2048_group = 1, |
251 ssl_ff_dhe_3072_group = 2, | 253 ssl_ff_dhe_3072_group = 2, |
252 ssl_ff_dhe_4096_group = 3, | 254 ssl_ff_dhe_4096_group = 3, |
253 ssl_ff_dhe_6144_group = 4, | 255 ssl_ff_dhe_6144_group = 4, |
254 ssl_ff_dhe_8192_group = 5, | 256 ssl_ff_dhe_8192_group = 5, |
255 ssl_dhe_group_max | 257 ssl_dhe_group_max |
256 } SSLDHEGroupType; | 258 } SSLDHEGroupType; |
257 | 259 |
258 #endif /* __sslt_h_ */ | 260 #endif /* __sslt_h_ */ |
LEFT | RIGHT |