|
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 // CASE9: Duplicates in Distinct certstore (DD), with corrupt certstore (C) of least order |
|
18 |
|
19 |
|
20 |
|
21 // TEST-CASE: SEC-FILECERTSTORE-0009-0001 |
|
22 |
|
23 // FILES: cacerts3.dat, cacerts2.dat, corrupt.dat |
|
24 |
|
25 // LABELS: Testing ACS Root, TOCSP-Signing5-RSA, Testing ACS Root |
|
26 |
|
27 // EXPECTED RESULTS: Testing ACS Root, TOCSP-Signing5-RSA |
|
28 |
|
29 // VARIANT: UDEB, UREL |
|
30 |
|
31 |
|
32 |
|
33 // TEST-CASE: SEC-FILECERTAPPSTORE-0009-0001 |
|
34 |
|
35 // FILES: certclients3.dat, certclients2.dat, corrupt.dat |
|
36 |
|
37 // UIDS: 270506792, 268478646, 270506792 |
|
38 |
|
39 // EXPECTED RESULTS: 270506792, 268478646 |
|
40 |
|
41 // VARIANT: UDEB, UREL |
|
42 |
|
43 |
|
44 |
|
45 START_TESTCASE SEC-FILECERTSTORE-0009-0001 |
|
46 |
|
47 //! @SYMTestCaseID SEC-FILECERTSTORE-0009-0001 |
|
48 |
|
49 //! @file |
|
50 |
|
51 //! @SYMTestCaseDesc Aggregating and opening a filecertstore |
|
52 |
|
53 //! @SYMREQ REQ9983, REQ9986, REQ10141 |
|
54 |
|
55 //! @SYMTestCasePriority High |
|
56 |
|
57 //! @SYMTestExpectedResults KErrNone |
|
58 |
|
59 //! @SYMTestActions 1) Aggregation and opening of filecertstore |
|
60 |
|
61 //! 2) Get the list of CA certificates |
|
62 |
|
63 //! 3) Delete the writable certificate store manager |
|
64 |
|
65 RUN_TEST_STEP -1 CTestHandler init tfilecertstore09.ini SEC-FILECERTSTORE-0009-001 |
|
66 |
|
67 RUN_TEST_STEP -1 CTestHandler listcert tfilecertstore09.ini SEC-FILECERTSTORE-0009-002 |
|
68 |
|
69 RUN_TEST_STEP -1 CTestHandler delete |
|
70 |
|
71 END_TESTCASE SEC-FILECERTSTORE-0009-0001 |
|
72 |
|
73 |
|
74 |
|
75 |
|
76 |
|
77 START_TESTCASE SEC-FILECERTAPPSTORE-0009-0001 |
|
78 |
|
79 //! @SYMTestCaseID SEC-FILECERTAPPSTORE-0009-0001 |
|
80 |
|
81 //! @file |
|
82 |
|
83 //! @SYMTestCaseDesc Aggregating and opening a filecertappstore |
|
84 |
|
85 //! @SYMREQ REQ9983, REQ9989 |
|
86 |
|
87 //! @SYMTestCasePriority High |
|
88 |
|
89 //! @SYMTestExpectedResults KErrNone |
|
90 |
|
91 //! @SYMTestActions 1) Creating a CertificateAppInfoManager |
|
92 |
|
93 //! 2) Retrieving the clients |
|
94 |
|
95 //! 3) Deleting the CertificateAppInfoManager |
|
96 |
|
97 RUN_TEST_STEP -1 CTestHandler initappmanager |
|
98 |
|
99 RUN_TEST_STEP -1 CTestHandler getclients tfilecertstore09.ini SEC-FILECERTAPPSTORE-0009-002 |
|
100 |
|
101 RUN_TEST_STEP -1 CTestHandler deleteappmanager |
|
102 |
|
103 END_TESTCASE SEC-FILECERTAPPSTORE-0009-0001 |
|
104 |
|
105 |
|
106 |
|
107 |
|
108 |