1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // SSL exported functions.
28 #include <ssl_compatibility.h>
30 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
31 #include <ssl_internal.h>
38 * Enable the use of TLS_RSA_WITH_NULL_MD5 and TLS_RSA_WITH_NULL_SHA ciphersuites
39 * These ciphersuites use NULL encryption and therefore offer no protection against evesdropping.
40 * Server authentication (and client, if a client certificate is used) is performed and data integrity
43 * (Ciphersuite TLS_NULL_WITH_NULL_NULL is never supported).
45 * An argument of 0 disables the ciphersuites and non-zero enables them.
47 const TUint KSoEnableNullCiphers = 0x408; //< Enable/disable NULL ciphers
53 * Set the PSK Key Exchange configuration. Argument is a TPckgBuf<MSoPskKeyHandler *>.
54 * The structure and buffers will be copied.
56 * @see MSoPskKeyHandler
58 const TUint KSoPskConfig = 0x409; //< Set PSK key exchange configuration
64 * Set the list of server names to be passed to the server in the ClientHello as described in RFC3546 "Server Name Indication".
65 * The argument should be a TPckgBuf<CDesC8Array *>.
67 const TUint KSoServerNameIndication = 0x40a; //< Set Server Name Indication