|
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 "Symbian Foundation License v1.0" |
|
6 // which accompanies this distribution, and is available |
|
7 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". |
|
8 // |
|
9 // Initial Contributors: |
|
10 // Nokia Corporation - initial contribution. |
|
11 // |
|
12 // Contributors: |
|
13 // |
|
14 // Description: |
|
15 // |
|
16 |
|
17 START_TESTCASE SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2A-0001 |
|
18 |
|
19 //! @SYMTestCaseID SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2A-0001 |
|
20 |
|
21 //! @SYMTestCaseDesc 5.1 Test cases for single file-based writable certificate store |
|
22 |
|
23 //! |
|
24 |
|
25 //! 5.1.1 Successfull addition, listing and retrieval of certificates (X.509) |
|
26 |
|
27 //! @SYMTestActions 1) No Test,Opening a CertificateAppInfoManager |
|
28 |
|
29 //! 2) No Test,Adding client A1 |
|
30 |
|
31 //! 3) No Test,Adding client A2 |
|
32 |
|
33 //! 4) No Test,Adding client A3 |
|
34 |
|
35 //! 5) No Test,Adding client A4 |
|
36 |
|
37 //! 6) No Test,Deleting the CertificateAppInfoManager |
|
38 |
|
39 //! 7) 5.1.1.1,Opening a certificate store manager |
|
40 |
|
41 //! 8) 5.1.1.2,Add the certificate CAX1 |
|
42 |
|
43 //! 9) 5.1.1.3,Add the certificate CAX2 |
|
44 |
|
45 //! 10) 5.1.1.4,Add the certificate CAX3 |
|
46 |
|
47 //! 11) 5.1.1.5,Get the list of certificates |
|
48 |
|
49 //! 12) 5.1.1.5.1,Retrieve CAX1 cert |
|
50 |
|
51 //! 13) 5.1.1.6,Get the list of certificates, searching by Issuer DN |
|
52 |
|
53 //! 14) No Test,Deleting the certificate CAX1 |
|
54 |
|
55 //! 15) No Test,Deleting the certificate CAX2 |
|
56 |
|
57 //! 16) No Test,Deleting the certificate CAX3 |
|
58 |
|
59 //! 17) 5.1.1.9,Deleting the certificate store manager |
|
60 |
|
61 RUN_TEST_STEP -1 CTestHandler initappmanager |
|
62 |
|
63 RUN_TEST_STEP -1 CTestHandler addclient unifiedcertstore2-conf2a.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2A-0001-002 |
|
64 |
|
65 RUN_TEST_STEP -1 CTestHandler addclient unifiedcertstore2-conf2a.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2A-0001-003 |
|
66 |
|
67 RUN_TEST_STEP -1 CTestHandler addclient unifiedcertstore2-conf2a.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2A-0001-004 |
|
68 |
|
69 RUN_TEST_STEP -1 CTestHandler addclient unifiedcertstore2-conf2a.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2A-0001-005 |
|
70 |
|
71 RUN_TEST_STEP -1 CTestHandler deleteappmanager |
|
72 |
|
73 RUN_TEST_STEP -1 CTestHandler init unifiedcertstore2-conf2a.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2A-0001-007 |
|
74 |
|
75 RUN_TEST_STEP -1 CTestHandler addcert unifiedcertstore2-conf2a.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2A-0001-008 |
|
76 |
|
77 RUN_TEST_STEP -1 CTestHandler addcert unifiedcertstore2-conf2a.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2A-0001-009 |
|
78 |
|
79 RUN_TEST_STEP -1 CTestHandler addcert unifiedcertstore2-conf2a.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2A-0001-010 |
|
80 |
|
81 RUN_TEST_STEP -1 CTestHandler listcert unifiedcertstore2-conf2a.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2A-0001-011 |
|
82 |
|
83 RUN_TEST_STEP -1 CTestHandler retrieve unifiedcertstore2-conf2a.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2A-0001-012 |
|
84 |
|
85 RUN_TEST_STEP -1 CTestHandler listcert unifiedcertstore2-conf2a.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2A-0001-013 |
|
86 |
|
87 RUN_TEST_STEP -1 CTestHandler deletecert unifiedcertstore2-conf2a.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2A-0001-014 |
|
88 |
|
89 RUN_TEST_STEP -1 CTestHandler deletecert unifiedcertstore2-conf2a.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2A-0001-015 |
|
90 |
|
91 RUN_TEST_STEP -1 CTestHandler deletecert unifiedcertstore2-conf2a.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2A-0001-016 |
|
92 |
|
93 RUN_TEST_STEP -1 CTestHandler delete |
|
94 |
|
95 END_TESTCASE SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2A-0001 |
|
96 |
|
97 |
|
98 |
|
99 |
|
100 |