| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Various and sundry protocol constants. DON'T CHANGE THESE. These values | 2 * Various and sundry protocol constants. DON'T CHANGE THESE. These values |
| 3 * are mostly defined by the SSL2, SSL3, or TLS protocol specifications. | 3 * are mostly defined by the SSL2, SSL3, or TLS protocol specifications. |
| 4 * Cipher kinds and ciphersuites are part of the public API. | 4 * Cipher kinds and ciphersuites are part of the public API. |
| 5 * | 5 * |
| 6 * ***** BEGIN LICENSE BLOCK ***** | 6 * This Source Code Form is subject to the terms of the Mozilla Public |
| 7 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 7 * License, v. 2.0. If a copy of the MPL was not distributed with this |
| 8 * | 8 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
| 9 * The contents of this file are subject to the Mozilla Public License Version | 9 /* $Id: sslproto.h,v 1.20 2012/06/07 02:06:19 wtc%google.com Exp $ */ |
| 10 * 1.1 (the "License"); you may not use this file except in compliance with | |
| 11 * the License. You may obtain a copy of the License at | |
| 12 * http://www.mozilla.org/MPL/ | |
| 13 * | |
| 14 * Software distributed under the License is distributed on an "AS IS" basis, | |
| 15 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License | |
| 16 * for the specific language governing rights and limitations under the | |
| 17 * License. | |
| 18 * | |
| 19 * The Original Code is the Netscape security libraries. | |
| 20 * | |
| 21 * The Initial Developer of the Original Code is | |
| 22 * Netscape Communications Corporation. | |
| 23 * Portions created by the Initial Developer are Copyright (C) 1994-2000 | |
| 24 * the Initial Developer. All Rights Reserved. | |
| 25 * | |
| 26 * Contributor(s): | |
| 27 * Dr Vipul Gupta <vipul.gupta@sun.com>, Sun Microsystems Laboratories | |
| 28 * | |
| 29 * Alternatively, the contents of this file may be used under the terms of | |
| 30 * either the GNU General Public License Version 2 or later (the "GPL"), or | |
| 31 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), | |
| 32 * in which case the provisions of the GPL or the LGPL are applicable instead | |
| 33 * of those above. If you wish to allow use of your version of this file only | |
| 34 * under the terms of either the GPL or the LGPL, and not to allow others to | |
| 35 * use your version of this file under the terms of the MPL, indicate your | |
| 36 * decision by deleting the provisions above and replace them with the notice | |
| 37 * and other provisions required by the GPL or the LGPL. If you do not delete | |
| 38 * the provisions above, a recipient may use your version of this file under | |
| 39 * the terms of any one of the MPL, the GPL or the LGPL. | |
| 40 * | |
| 41 * ***** END LICENSE BLOCK ***** */ | |
| 42 /* $Id: sslproto.h,v 1.17 2012/03/13 02:39:11 wtc%google.com Exp $ */ | |
| 43 | 10 |
| 44 #ifndef __sslproto_h_ | 11 #ifndef __sslproto_h_ |
| 45 #define __sslproto_h_ | 12 #define __sslproto_h_ |
| 46 | 13 |
| 47 /* All versions less than 3_0 are treated as SSL version 2 */ | 14 /* All versions less than 3_0 are treated as SSL version 2 */ |
| 48 #define SSL_LIBRARY_VERSION_2 0x0002 | 15 #define SSL_LIBRARY_VERSION_2 0x0002 |
| 49 #define SSL_LIBRARY_VERSION_3_0 0x0300 | 16 #define SSL_LIBRARY_VERSION_3_0 0x0300 |
| 50 #define SSL_LIBRARY_VERSION_TLS_1_0 0x0301 | 17 #define SSL_LIBRARY_VERSION_TLS_1_0 0x0301 |
| 51 #define SSL_LIBRARY_VERSION_TLS_1_1 0x0302 | 18 #define SSL_LIBRARY_VERSION_TLS_1_1 0x0302 |
| 52 /* Note: this is the internal format, not the wire format */ | 19 /* Note: this is the internal format, not the wire format */ |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 #define SSL_RSA_FIPS_WITH_DES_CBC_SHA 0xfefe | 205 #define SSL_RSA_FIPS_WITH_DES_CBC_SHA 0xfefe |
| 239 | 206 |
| 240 /* DTLS-SRTP cipher suites from RFC 5764 */ | 207 /* DTLS-SRTP cipher suites from RFC 5764 */ |
| 241 /* If you modify this, also modify MAX_DTLS_SRTP_CIPHER_SUITES in sslimpl.h */ | 208 /* If you modify this, also modify MAX_DTLS_SRTP_CIPHER_SUITES in sslimpl.h */ |
| 242 #define SRTP_AES128_CM_HMAC_SHA1_80 0x0001 | 209 #define SRTP_AES128_CM_HMAC_SHA1_80 0x0001 |
| 243 #define SRTP_AES128_CM_HMAC_SHA1_32 0x0002 | 210 #define SRTP_AES128_CM_HMAC_SHA1_32 0x0002 |
| 244 #define SRTP_NULL_HMAC_SHA1_80 0x0005 | 211 #define SRTP_NULL_HMAC_SHA1_80 0x0005 |
| 245 #define SRTP_NULL_HMAC_SHA1_32 0x0006 | 212 #define SRTP_NULL_HMAC_SHA1_32 0x0006 |
| 246 | 213 |
| 247 #endif /* __sslproto_h_ */ | 214 #endif /* __sslproto_h_ */ |
| OLD | NEW |