|
1 // |
|
2 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 // All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of the License "Eclipse Public License v1.0" |
|
6 // which accompanies this distribution, and is available |
|
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 // |
|
9 // Initial Contributors: |
|
10 // Nokia Corporation - initial contribution. |
|
11 // |
|
12 // Contributors: |
|
13 // |
|
14 // Description: |
|
15 // |
|
16 // |
|
17 |
|
18 |
|
19 START_TESTCASE SEC-FILETOKENS-CREATEOLDKEYSTORE-1-0001 |
|
20 |
|
21 //! @SYMTestCaseID SEC-FILETOKENS-CREATEOLDKEYSTORE-1-0001 |
|
22 |
|
23 //! @SYMTestCaseDesc |
|
24 |
|
25 /////////////////////////////////////////////////////////////////////////////// |
|
26 // Create an old key store |
|
27 //////////////////////////////////////////////////////////////////////////////////// |
|
28 |
|
29 //! @SYMTestActions 1) Delete keystore data file |
|
30 |
|
31 //! 2) Opening key store in manager mode |
|
32 |
|
33 //! 3) Delete default keys |
|
34 |
|
35 //! 4) Add a DH key |
|
36 |
|
37 //! 5) Add a RSA key |
|
38 |
|
39 //! 6) Add a DSA key |
|
40 |
|
41 //! 7) List all keys |
|
42 |
|
43 //! 8) Closing key store |
|
44 |
|
45 //! 9) Sleep 5 seconds |
|
46 |
|
47 //! 10) Check for server heap error |
|
48 |
|
49 |
|
50 |
|
51 RUN_TEST_STEP -1 CTestHandler deletekeystoredata |
|
52 |
|
53 RUN_TEST_STEP -1 CTestHandler init createoldkeystore.ini SEC-FILETOKENS-CREATEOLDKEYSTORE-1-002 |
|
54 |
|
55 RUN_TEST_STEP -1 CTestHandler deletekeys |
|
56 |
|
57 RUN_TEST_STEP -1 CTestHandler addkey createoldkeystore.ini SEC-FILETOKENS-CREATEOLDKEYSTORE-1-004 |
|
58 |
|
59 RUN_TEST_STEP -1 CTestHandler addkey createoldkeystore.ini SEC-FILETOKENS-CREATEOLDKEYSTORE-1-005 |
|
60 |
|
61 RUN_TEST_STEP -1 CTestHandler addkey createoldkeystore.ini SEC-FILETOKENS-CREATEOLDKEYSTORE-1-006 |
|
62 |
|
63 RUN_TEST_STEP -1 CTestHandler listallkeys createoldkeystore.ini SEC-FILETOKENS-CREATEOLDKEYSTORE-1-007 |
|
64 |
|
65 RUN_TEST_STEP -1 CTestHandler delete |
|
66 |
|
67 RUN_TEST_STEP -1 CTestHandler sleep createoldkeystore.ini SEC-FILETOKENS-CREATEOLDKEYSTORE-1-009 |
|
68 |
|
69 RUN_TEST_STEP -1 CTestHandler checkserverheaperror |
|
70 |
|
71 END_TESTCASE SEC-FILETOKENS-CREATEOLDKEYSTORE-1-0001 |
|
72 |