|
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-TESTNEWKEYSTORE-1-0001 |
|
20 |
|
21 //! @SYMTestCaseID SEC-FILETOKENS-TESTNEWKEYSTORE-1-0001 |
|
22 |
|
23 //! @SYMTestCaseDesc |
|
24 |
|
25 //! //////////////////////////////////////////////////////////////////////////////////// |
|
26 //! // Operations on migrated key store |
|
27 //! //////////////////////////////////////////////////////////////////////////////////// |
|
28 |
|
29 //! @SYMTestActions 1) Opening key store in manager mode |
|
30 |
|
31 //! 2) List all keys |
|
32 |
|
33 //! 3) Open a DH key |
|
34 |
|
35 //! 4) derive for dhkey |
|
36 |
|
37 //! 5) Sign with RSA key |
|
38 |
|
39 //! 6) Decrypt with RSA key |
|
40 |
|
41 //! 7) Closing key store |
|
42 |
|
43 //! 8) Closing key store |
|
44 |
|
45 //! 9) Sleep 5 seconds |
|
46 |
|
47 //! 10) Check for server heap error |
|
48 |
|
49 |
|
50 RUN_TEST_STEP -1 CTestHandler init testnewkeystore.ini SEC-FILETOKENS-TESTNEWKEYSTORE-1-001 |
|
51 |
|
52 RUN_TEST_STEP -1 CTestHandler listallkeys testnewkeystore.ini SEC-FILETOKENS-TESTNEWKEYSTORE-1-002 |
|
53 |
|
54 RUN_TEST_STEP -1 CTestHandler open testnewkeystore.ini SEC-FILETOKENS-TESTNEWKEYSTORE-1-003 |
|
55 |
|
56 RUN_TEST_STEP -1 CTestHandler derive testnewkeystore.ini SEC-FILETOKENS-TESTNEWKEYSTORE-1-004 |
|
57 |
|
58 RUN_TEST_STEP -1 CTestHandler sign testnewkeystore.ini SEC-FILETOKENS-TESTNEWKEYSTORE-1-005 |
|
59 |
|
60 RUN_TEST_STEP -1 CTestHandler decrypt testnewkeystore.ini SEC-FILETOKENS-TESTNEWKEYSTORE-1-006 |
|
61 |
|
62 RUN_TEST_STEP -1 CTestHandler sign testnewkeystore.ini SEC-FILETOKENS-TESTNEWKEYSTORE-1-007 |
|
63 |
|
64 RUN_TEST_STEP -1 CTestHandler delete |
|
65 |
|
66 RUN_TEST_STEP -1 CTestHandler sleep testnewkeystore.ini SEC-FILETOKENS-TESTNEWKEYSTORE-1-009 |
|
67 |
|
68 RUN_TEST_STEP -1 CTestHandler checkserverheaperror |
|
69 |
|
70 |
|
71 END_TESTCASE SEC-FILETOKENS-TESTNEWKEYSTORE-1-0001 |
|
72 |
|
73 |