| 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 * ***** BEGIN LICENSE BLOCK ***** | 4 * ***** BEGIN LICENSE BLOCK ***** |
| 5 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 5 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
| 6 * | 6 * |
| 7 * The contents of this file are subject to the Mozilla Public License Version | 7 * The contents of this file are subject to the Mozilla Public License Version |
| 8 * 1.1 (the "License"); you may not use this file except in compliance with | 8 * 1.1 (the "License"); you may not use this file except in compliance with |
| 9 * the License. You may obtain a copy of the License at | 9 * the License. You may obtain a copy of the License at |
| 10 * http://www.mozilla.org/MPL/ | 10 * http://www.mozilla.org/MPL/ |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 PRUint16 macBits; | 183 PRUint16 macBits; |
| 184 | 184 |
| 185 PRUintn isFIPS : 1; | 185 PRUintn isFIPS : 1; |
| 186 PRUintn isExportable : 1; | 186 PRUintn isExportable : 1; |
| 187 PRUintn nonStandard : 1; | 187 PRUintn nonStandard : 1; |
| 188 PRUintn reservedBits :29; | 188 PRUintn reservedBits :29; |
| 189 | 189 |
| 190 } SSLCipherSuiteInfo; | 190 } SSLCipherSuiteInfo; |
| 191 | 191 |
| 192 typedef enum { | 192 typedef enum { |
| 193 ssl_variant_stream = 0 | 193 ssl_variant_stream = 0, |
| 194 ssl_variant_datagram = 1 |
| 194 } SSLProtocolVariant; | 195 } SSLProtocolVariant; |
| 195 | 196 |
| 196 typedef struct SSLVersionRangeStr { | 197 typedef struct SSLVersionRangeStr { |
| 197 PRUint16 min; | 198 PRUint16 min; |
| 198 PRUint16 max; | 199 PRUint16 max; |
| 199 } SSLVersionRange; | 200 } SSLVersionRange; |
| 200 | 201 |
| 201 typedef enum { | 202 typedef enum { |
| 202 SSL_sni_host_name = 0, | 203 SSL_sni_host_name = 0, |
| 203 SSL_sni_type_total | 204 SSL_sni_type_total |
| (...skipping 11 matching lines...) Expand all Loading... |
| 215 ssl_session_ticket_xtn = 35, | 216 ssl_session_ticket_xtn = 35, |
| 216 ssl_next_proto_nego_xtn = 13172, | 217 ssl_next_proto_nego_xtn = 13172, |
| 217 ssl_encrypted_client_certs = 13180, /* not IANA assigned. */ | 218 ssl_encrypted_client_certs = 13180, /* not IANA assigned. */ |
| 218 ssl_renegotiation_info_xtn = 0xff01, /* experimental number */ | 219 ssl_renegotiation_info_xtn = 0xff01, /* experimental number */ |
| 219 ssl_ob_cert_xtn = 13175 /* experimental number */ | 220 ssl_ob_cert_xtn = 13175 /* experimental number */ |
| 220 } SSLExtensionType; | 221 } SSLExtensionType; |
| 221 | 222 |
| 222 #define SSL_MAX_EXTENSIONS 9 | 223 #define SSL_MAX_EXTENSIONS 9 |
| 223 | 224 |
| 224 #endif /* __sslt_h_ */ | 225 #endif /* __sslt_h_ */ |
| OLD | NEW |