networksecurity/tls/ts_tls/T_Autossl_Const.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 31 Aug 2010 16:45:15 +0300
branchRCL_3
changeset 57 abbed5a4b42a
parent 53 7e41d162e158
child 58 8d540f55e491
permissions -rw-r--r--
Revision: 201035 Kit: 201035

// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//
 
#ifndef __T_AUTOSSL_CONST_H__
#define __T_AUTOSSL_CONST_H__

// Constants
const TInt KMaxSSLConnections = 1; //***********
const TInt KControllerDelayTime = 5000000;
const TInt KCipherBufSize = 128;

// parameter file related constants
_LIT( KSectionName, "Tlstest" );

_LIT( KCfgIPAddress, "IPAddress" );
_LIT( KCfgIPPort, "IPPort" );
_LIT( KCfgCipher, "Cipher" );
_LIT( KCfgCipherSuites, "CipherSuites" );
_LIT( KCfgPage, "Page" );
_LIT( KCfgDNSName, "DNSName" );
_LIT( KCfgSimpleGet, "SimpleGet" );
_LIT( KCfgTestEndDelay, "TestEndDelay" );
_LIT( KCfgFailureThreshold, "FailureThreshold" );
_LIT( KCfgMaxThreshold, "MaxThreshold" );
_LIT( KCfgProtocol, "Protocol" );
_LIT( KCfgUseGenericSocket, "UseGenericSocket");
_LIT( KCfgEAPKeyDerivation, "EAPKeyDerivation");

const TInt KDefCfgCipher = 0;
const TInt KDefCfgIPPort = 0;
const TInt KDefCfgSimpleGet = 0;
const TInt KDefCfgTestEndDelay = 32;
const TInt KDefCfgFailureThreshold = 1;
const TInt KDefCfgMaxThreshold = 1000;
const TBool KDefUseGenericSocket = EFalse;
const TBool KDefEAPKeyDerivation = EFalse;

_LIT( KDefCfgIPAddress, "default" );
_LIT( KDefCfgDNSName, "www.default.com" );
_LIT( KDefCfgPage, "default.htm" );
_LIT( KDefCfgCipherSuites, "0" );
_LIT( KDefCfgProtocol, "TLS1.0" );


#endif // __T_AUTOSSL_CONST_H__