|
1 // wri-swicertstore2.txt |
|
2 // |
|
3 // Test SWI cert store with non-certstore formatted |
|
4 // swicertstore in c:\ and the DLL can still access |
|
5 // the z:\ swicertstore |
|
6 // |
|
7 |
|
8 //! @file |
|
9 //! @SYMTestCaseID Sec-tcertstore-wri-swicertstore2-1 |
|
10 //! @SYMTestCaseDesc Copy the non-certstore formatted swicertstore to |
|
11 //! c:\Resource\Swicertstore\dat\; and open the SWI cert store |
|
12 //! @SYMREQ REQ0000 |
|
13 //! @SYMTestCasePriority High |
|
14 //! @SYMTestExpectedResults KErrNone |
|
15 <action> |
|
16 <actionname>Open the SWI cert store</actionname> |
|
17 <actiontype>initswicertstore</actiontype> |
|
18 <actionbody> |
|
19 <filename>c:\tcertstore\data\rsacertkey1.txt</filename> |
|
20 </actionbody> |
|
21 <actionresult> |
|
22 <return>KErrNone</return> |
|
23 </actionresult> |
|
24 </action> |
|
25 |
|
26 //! @file |
|
27 //! @SYMTestCaseID Sec-tcertstore-wri-swicertstore2-2 |
|
28 //! @SYMTestCaseDesc Get the list of CA certificates |
|
29 //! @SYMREQ REQ0000 |
|
30 //! @SYMTestCasePriority High |
|
31 //! @SYMTestExpectedResults KErrNone |
|
32 <action> |
|
33 <actionname>Get the list of CA certificates</actionname> |
|
34 <actiontype>listcert</actiontype> |
|
35 <actionbody> |
|
36 <filter> |
|
37 <ownertype>ca</ownertype> |
|
38 </filter> |
|
39 </actionbody> |
|
40 <actionresult> |
|
41 <return>KErrNone</return> |
|
42 <CCTCertInfo><label>Root5CA</label><readonly>True</readonly></CCTCertInfo> |
|
43 <CCTCertInfo><label>SymbianTestDSACA</label><readonly>True</readonly></CCTCertInfo> |
|
44 <CCTCertInfo><label>SymbianTestRSACA</label><readonly>True</readonly></CCTCertInfo> |
|
45 </actionresult> |
|
46 </action> |
|
47 |
|
48 //! @file |
|
49 //! @SYMTestCaseID Sec-tcertstore-wri-swicertstore2-3 |
|
50 //! @SYMTestCaseDesc Retrieve Root5CA cert |
|
51 //! @SYMREQ REQ0000 |
|
52 //! @SYMTestCasePriority High |
|
53 //! @SYMTestExpectedResults KErrNone |
|
54 <action> |
|
55 <actionname>Retrieve Root5CA cert</actionname> |
|
56 <actiontype>retrieve</actiontype> |
|
57 <actionbody> |
|
58 <label>Root5CA</label> |
|
59 </actionbody> |
|
60 <actionresult> |
|
61 <return>KErrNone</return> |
|
62 <CCTCertInfo><label>Root5CA</label><readonly>True</readonly></CCTCertInfo> |
|
63 </actionresult> |
|
64 </action> |
|
65 |
|
66 //! @file |
|
67 //! @SYMTestCaseID Sec-tcertstore-wri-swicertstore2-4 |
|
68 //! @SYMTestCaseDesc Get applications for Root5CA |
|
69 //! @SYMREQ REQ0000 |
|
70 //! @SYMTestCasePriority High |
|
71 //! @SYMTestExpectedResults KErrNone |
|
72 <action> |
|
73 <actionname>Get applications for Root5CA</actionname> |
|
74 <actiontype>getapplications</actiontype> |
|
75 <actionbody> |
|
76 <label>Root5CA</label> |
|
77 </actionbody> |
|
78 <actionresult> |
|
79 <return>KErrNone</return> |
|
80 <uid>268452523</uid> |
|
81 </actionresult> |
|
82 </action> |
|
83 |
|
84 //! @file |
|
85 //! @SYMTestCaseID Sec-tcertstore-wri-swicertstore2-5 |
|
86 //! @SYMTestCaseDesc Get the trust for SymbianTestDSACA |
|
87 //! @SYMREQ REQ0000 |
|
88 //! @SYMTestCasePriority High |
|
89 //! @SYMTestExpectedResults KErrNone |
|
90 <action> |
|
91 <actionname>Get the trust for SymbianTestDSACA</actionname> |
|
92 <actiontype>gettrusters</actiontype> |
|
93 <actionbody> |
|
94 <label>SymbianTestDSACA</label> |
|
95 </actionbody> |
|
96 <actionresult> |
|
97 <return>KErrNone</return> |
|
98 <trust>1</trust> |
|
99 </actionresult> |
|
100 </action> |
|
101 |
|
102 //! @file |
|
103 //! @SYMTestCaseID Sec-tcertstore-wri-swicertstore2-6 |
|
104 //! @SYMTestCaseDesc Get the capabilities for SymbianTestDSACA |
|
105 //! @SYMREQ REQ0000 |
|
106 //! @SYMTestCasePriority High |
|
107 //! @SYMTestExpectedResults KErrNone |
|
108 <action> |
|
109 <actionname>Get the capabilities for SymbianTestDSACA</actionname> |
|
110 <actiontype>getcapabilities</actiontype> |
|
111 <actionbody> |
|
112 <label>SymbianTestDSACA</label> |
|
113 </actionbody> |
|
114 <actionresult> |
|
115 <return>KErrNone</return> |
|
116 <capability>NetworkServices</capability> |
|
117 <capability>LocalServices</capability> |
|
118 <capability>Location</capability> |
|
119 <capability>MultimediaDD</capability> |
|
120 </actionresult> |
|
121 </action> |
|
122 |
|
123 //! @file |
|
124 //! @SYMTestCaseID Sec-tcertstore-wri-swicertstore2-7 |
|
125 //! @SYMTestCaseDesc Get the mandatory flag for SymbianTestRSACA |
|
126 //! @SYMREQ REQ0000 |
|
127 //! @SYMTestCasePriority High |
|
128 //! @SYMTestExpectedResults KErrNone |
|
129 <action> |
|
130 <actionname>Get the mandatory flag for SymbianTestRSACA</actionname> |
|
131 <actiontype>getmandatory</actiontype> |
|
132 <actionbody> |
|
133 <label>SymbianTestRSACA</label> |
|
134 </actionbody> |
|
135 <actionresult> |
|
136 <return>KErrNone</return> |
|
137 <mandatory>EFalse</mandatory> |
|
138 </actionresult> |
|
139 </action> |
|
140 |
|
141 //! @file |
|
142 //! @SYMTestCaseID Sec-tcertstore-wri-swicertstore2-8 |
|
143 //! @SYMTestCaseDesc Retrieve TSecuritySymbianTestTCBRSACA cert |
|
144 //! @SYMREQ REQ0000 |
|
145 //! @SYMTestCasePriority High |
|
146 //! @SYMTestExpectedResults KErrNone |
|
147 <action> |
|
148 <actionname>Retrieve TSecuritySymbianTestTCBRSACA cert</actionname> |
|
149 <actiontype>retrieve</actiontype> |
|
150 <actionbody> |
|
151 <label>TSecuritySymbianTestTCBRSACA</label> |
|
152 </actionbody> |
|
153 <actionresult> |
|
154 <return>KErrNotFound</return> |
|
155 </actionresult> |
|
156 </action> |
|
157 |
|
158 //! @file |
|
159 //! @SYMTestCaseID Sec-tcertstore-wri-swicertstore2-9 |
|
160 //! @SYMTestCaseDesc Deleting the SWI cert store |
|
161 //! @SYMREQ REQ0000 |
|
162 //! @SYMTestCasePriority High |
|
163 //! @SYMTestExpectedResults KErrNone |
|
164 <action> |
|
165 <actionname>Deleting the SWI cert store</actionname> |
|
166 <actiontype>delete</actiontype> |
|
167 <actionbody></actionbody> |
|
168 <actionresult> |
|
169 <return>KErrNone</return> |
|
170 </actionresult> |
|
171 </action> |