diff -r f18401adf8e1 -r 641f389e9157 cryptoservices/filebasedcertificateandkeystores/test/tkeystore/scripts/authenticate_useauth.script --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cryptoservices/filebasedcertificateandkeystores/test/tkeystore/scripts/authenticate_useauth.script Tue Aug 31 17:00:08 2010 +0300 @@ -0,0 +1,90 @@ +// +// 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-AUTHENTICATE_USEAUTH-0001 + +//! @SYMTestCaseID SEC-AUTHENTICATE_USEAUTH-0001 + +//! @SYMTestCaseDesc ////////////////////////////////////////////////////////////////////////////////// + +//! Adding a key + +//! ////////////////////////////////////////////////////////////////////////////////// + +//! The action name now bears, when relevant, the TEST ID which will help map the + +//! resulting log to the DLRs, a mapping of these (TEST IDs to REQ number) can be found in + +//! "V:\Dev\GT\GT 0140 Security\Test and Integration\Test Specifications\DLR mappings\keystore.xls" + +//! @SYMTestActions 1) Delete keystore data file + +//! 2) 1.0.0.0.2,Opening key store 2 in manager mode + +//! 3) 1.0.0.1.0,Add a key (TEST ID: GT0140-KEY002 and GT0140-KEY003) + +//! 4) 1.0.0.1.1,List all keys (TEST ID: INC103084-KEY001) + +//! 5) 1.0.0.2,Get it again + +//! 6) Set a new authentication policy for a key with which the user is not registered + +//! 7) Gets authentication policy for a key + +//! 8) 6.2.1, Set cheeku's use policy based on SID and capabilities + +//! 9) 6.2.7.4, Set cheeku's management policy based on just capabilities + +//! 10) 1.4.4.999, Delete everything + +//! 11) 1.4.999.1,Closing key store + +//! 12) 1.4.999.2, Sleep 5 seconds + +//! 13) 1.4.999.3, Check for server heap error + +RUN_TEST_STEP -1 CTestHandler deletekeystoredata + +RUN_TEST_STEP -1 CTestHandler init authenticate_useauth.ini SEC-AUTHENTICATE_USEAUTH-0001-002 + +RUN_TEST_STEP -1 CTestHandler addkey authenticate_useauth.ini SEC-AUTHENTICATE_USEAUTH-0001-003 + +RUN_TEST_STEP -1 CTestHandler listallkeys authenticate_useauth.ini SEC-AUTHENTICATE_USEAUTH-0001-004 + +RUN_TEST_STEP -1 CTestHandler getkeyinfo authenticate_useauth.ini SEC-AUTHENTICATE_USEAUTH-0001-005 + +RUN_TEST_STEP -1 CTestHandler authenticationpolicy authenticate_useauth.ini SEC-AUTHENTICATE_USEAUTH-0001-006 + +RUN_TEST_STEP -1 CTestHandler authenticationpolicy authenticate_useauth.ini SEC-AUTHENTICATE_USEAUTH-0001-007 + +RUN_TEST_STEP -1 CTestHandler setusepolicy authenticate_useauth.ini SEC-AUTHENTICATE_USEAUTH-0001-008 + +RUN_TEST_STEP -1 CTestHandler setmanagementpolicy authenticate_useauth.ini SEC-AUTHENTICATE_USEAUTH-0001-009 + +RUN_TEST_STEP -1 CTestHandler deletekeys authenticate_useauth.ini SEC-AUTHENTICATE_USEAUTH-0001-010 + +RUN_TEST_STEP -1 CTestHandler delete + +RUN_TEST_STEP -1 CTestHandler sleep authenticate_useauth.ini SEC-AUTHENTICATE_USEAUTH-0001-012 + +RUN_TEST_STEP -1 CTestHandler checkserverheaperror + +END_TESTCASE SEC-AUTHENTICATE_USEAUTH-0001 + + + + +