| OLD | NEW |
| 1 /* | 1 /* |
| 2 * This file contains prototypes for the public SSL functions. | 2 * This file contains prototypes for the public SSL functions. |
| 3 * | 3 * |
| 4 * This Source Code Form is subject to the terms of the Mozilla Public | 4 * This Source Code Form is subject to the terms of the Mozilla Public |
| 5 * License, v. 2.0. If a copy of the MPL was not distributed with this | 5 * License, v. 2.0. If a copy of the MPL was not distributed with this |
| 6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
| 7 | 7 |
| 8 #ifndef __sslt_h_ | 8 #ifndef __sslt_h_ |
| 9 #define __sslt_h_ | 9 #define __sslt_h_ |
| 10 | 10 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 } SSLAuthType; | 84 } SSLAuthType; |
| 85 | 85 |
| 86 typedef enum { | 86 typedef enum { |
| 87 ssl_calg_null = 0, | 87 ssl_calg_null = 0, |
| 88 ssl_calg_rc4 = 1, | 88 ssl_calg_rc4 = 1, |
| 89 ssl_calg_rc2 = 2, | 89 ssl_calg_rc2 = 2, |
| 90 ssl_calg_des = 3, | 90 ssl_calg_des = 3, |
| 91 ssl_calg_3des = 4, | 91 ssl_calg_3des = 4, |
| 92 ssl_calg_idea = 5, | 92 ssl_calg_idea = 5, |
| 93 ssl_calg_fortezza = 6, /* deprecated, now unused */ | 93 ssl_calg_fortezza = 6, /* deprecated, now unused */ |
| 94 ssl_calg_aes = 7, /* coming soon */ | 94 ssl_calg_aes = 7, |
| 95 ssl_calg_camellia = 8, | 95 ssl_calg_camellia = 8, |
| 96 ssl_calg_seed = 9 | 96 ssl_calg_seed = 9, |
| 97 ssl_calg_aes_gcm = 10 |
| 97 } SSLCipherAlgorithm; | 98 } SSLCipherAlgorithm; |
| 98 | 99 |
| 99 typedef enum { | 100 typedef enum { |
| 100 ssl_mac_null = 0, | 101 ssl_mac_null = 0, |
| 101 ssl_mac_md5 = 1, | 102 ssl_mac_md5 = 1, |
| 102 ssl_mac_sha = 2, | 103 ssl_mac_sha = 2, |
| 103 ssl_hmac_md5 = 3, /* TLS HMAC version of mac_md5 */ | 104 ssl_hmac_md5 = 3, /* TLS HMAC version of mac_md5 */ |
| 104 ssl_hmac_sha = 4, /* TLS HMAC version of mac_sha */ | 105 ssl_hmac_sha = 4, /* TLS HMAC version of mac_sha */ |
| 105 ssl_hmac_sha256 = 5 | 106 ssl_hmac_sha256 = 5 |
| 106 } SSLMACAlgorithm; | 107 } SSLMACAlgorithm; |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 ssl_application_layer_protocol = 16, | 199 ssl_application_layer_protocol = 16, |
| 199 ssl_session_ticket_xtn = 35, | 200 ssl_session_ticket_xtn = 35, |
| 200 ssl_next_proto_nego_xtn = 13172, | 201 ssl_next_proto_nego_xtn = 13172, |
| 201 ssl_channel_id_xtn = 30031, | 202 ssl_channel_id_xtn = 30031, |
| 202 ssl_renegotiation_info_xtn = 0xff01 /* experimental number */ | 203 ssl_renegotiation_info_xtn = 0xff01 /* experimental number */ |
| 203 } SSLExtensionType; | 204 } SSLExtensionType; |
| 204 | 205 |
| 205 #define SSL_MAX_EXTENSIONS 11 | 206 #define SSL_MAX_EXTENSIONS 11 |
| 206 | 207 |
| 207 #endif /* __sslt_h_ */ | 208 #endif /* __sslt_h_ */ |
| OLD | NEW |