LEFT | RIGHT |
(no file at all) | |
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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 #define kt_ecdh ssl_kea_ecdh | 56 #define kt_ecdh ssl_kea_ecdh |
57 #define kt_kea_size ssl_kea_size | 57 #define kt_kea_size ssl_kea_size |
58 | 58 |
59 | 59 |
60 /* Values of this enum match the SignatureAlgorithm enum from | 60 /* Values of this enum match the SignatureAlgorithm enum from |
61 * https://tools.ietf.org/html/rfc5246#section-7.4.1.4.1 */ | 61 * https://tools.ietf.org/html/rfc5246#section-7.4.1.4.1 */ |
62 typedef enum { | 62 typedef enum { |
63 ssl_sign_null = 0, /* "anonymous" in TLS */ | 63 ssl_sign_null = 0, /* "anonymous" in TLS */ |
64 ssl_sign_rsa = 1, | 64 ssl_sign_rsa = 1, |
65 ssl_sign_dsa = 2, | 65 ssl_sign_dsa = 2, |
66 ssl_sign_ecdsa = 3 | 66 ssl_sign_ecdsa = 3, |
| 67 ssl_sign_rsapss = 4 |
67 } SSLSignType; | 68 } SSLSignType; |
68 | 69 |
69 /* Values of this enum match the HashAlgorithm enum from | 70 /* Values of this enum match the HashAlgorithm enum from |
70 * https://tools.ietf.org/html/rfc5246#section-7.4.1.4.1 */ | 71 * https://tools.ietf.org/html/rfc5246#section-7.4.1.4.1 */ |
71 typedef enum { | 72 typedef enum { |
72 /* ssl_hash_none is used internally to mean the pre-1.2 combination of MD5 | 73 /* ssl_hash_none is used internally to mean the pre-1.2 combination of MD5 |
73 * and SHA1. The other values are only used in TLS 1.2. */ | 74 * and SHA1. The other values are only used in TLS 1.2. */ |
74 ssl_hash_none = 0, | 75 ssl_hash_none = 0, |
75 ssl_hash_md5 = 1, | 76 ssl_hash_md5 = 1, |
76 ssl_hash_sha1 = 2, | 77 ssl_hash_sha1 = 2, |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 ssl_dhe_group_none = 0, | 249 ssl_dhe_group_none = 0, |
249 ssl_ff_dhe_2048_group = 1, | 250 ssl_ff_dhe_2048_group = 1, |
250 ssl_ff_dhe_3072_group = 2, | 251 ssl_ff_dhe_3072_group = 2, |
251 ssl_ff_dhe_4096_group = 3, | 252 ssl_ff_dhe_4096_group = 3, |
252 ssl_ff_dhe_6144_group = 4, | 253 ssl_ff_dhe_6144_group = 4, |
253 ssl_ff_dhe_8192_group = 5, | 254 ssl_ff_dhe_8192_group = 5, |
254 ssl_dhe_group_max | 255 ssl_dhe_group_max |
255 } SSLDHEGroupType; | 256 } SSLDHEGroupType; |
256 | 257 |
257 #endif /* __sslt_h_ */ | 258 #endif /* __sslt_h_ */ |
LEFT | RIGHT |