cryptoservices/filebasedcertificateandkeystores/test/tkeystore/scripts/createoldkeystore.script
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 24 Nov 2009 09:06:03 +0200
changeset 29 ece3df019add
permissions -rw-r--r--
Revision: 200948 Kit: 200948

//
// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of the License "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: 
//
//


START_TESTCASE               SEC-FILETOKENS-CREATEOLDKEYSTORE-1-0001

//! @SYMTestCaseID           SEC-FILETOKENS-CREATEOLDKEYSTORE-1-0001

//! @SYMTestCaseDesc          

					///////////////////////////////////////////////////////////////////////////////
					//	Create an old key store
					////////////////////////////////////////////////////////////////////////////////////

//! @SYMTestActions           1) Delete keystore data file

//!                           2) Opening key store in manager mode

//!                           3) Delete default keys

//!                           4) Add a DH key

//!                           5) Add a RSA key

//!                           6) Add a DSA key

//!                           7) List all keys

//!                           8) Closing key store

//!                           9) Sleep 5 seconds

//!                          10) Check for server heap error



RUN_TEST_STEP -1 CTestHandler deletekeystoredata
 
RUN_TEST_STEP -1 CTestHandler init createoldkeystore.ini SEC-FILETOKENS-CREATEOLDKEYSTORE-1-002

RUN_TEST_STEP -1 CTestHandler deletekeys

RUN_TEST_STEP -1 CTestHandler addkey createoldkeystore.ini SEC-FILETOKENS-CREATEOLDKEYSTORE-1-004

RUN_TEST_STEP -1 CTestHandler addkey createoldkeystore.ini SEC-FILETOKENS-CREATEOLDKEYSTORE-1-005

RUN_TEST_STEP -1 CTestHandler addkey createoldkeystore.ini SEC-FILETOKENS-CREATEOLDKEYSTORE-1-006

RUN_TEST_STEP -1 CTestHandler listallkeys createoldkeystore.ini SEC-FILETOKENS-CREATEOLDKEYSTORE-1-007

RUN_TEST_STEP -1 CTestHandler delete

RUN_TEST_STEP -1 CTestHandler sleep createoldkeystore.ini SEC-FILETOKENS-CREATEOLDKEYSTORE-1-009

RUN_TEST_STEP -1 CTestHandler checkserverheaperror

END_TESTCASE                 SEC-FILETOKENS-CREATEOLDKEYSTORE-1-0001