1 // swicertstore1.txt |
|
2 // |
|
3 // Test direct access to SWI cert store |
|
4 |
|
5 //! @file |
|
6 //! @SYMTestCaseID Sec-tcertstore-swicertstore1-1 |
|
7 //! @SYMTestCaseDesc Open the SWI cert store |
|
8 //! @SYMREQ REQ0000 |
|
9 //! @SYMTestCasePriority High |
|
10 //! @SYMTestExpectedResults KErrNone |
|
11 <action> |
|
12 <actionname>Open the SWI cert store</actionname> |
|
13 <actiontype>initswicertstore</actiontype> |
|
14 <actionbody> |
|
15 </actionbody> |
|
16 <actionresult> |
|
17 <return>KErrNone</return> |
|
18 </actionresult> |
|
19 </action> |
|
20 |
|
21 //! @file |
|
22 //! @SYMTestCaseID Sec-tcertstore-swicertstore1-2 |
|
23 //! @SYMTestCaseDesc Get the list of CA certificates |
|
24 //! @SYMREQ REQ0000 |
|
25 //! @SYMTestCasePriority High |
|
26 //! @SYMTestExpectedResults KErrNone |
|
27 <action> |
|
28 <actionname>Get the list of CA certificates</actionname> |
|
29 <actiontype>listcert</actiontype> |
|
30 <actionbody> |
|
31 <filter> |
|
32 <ownertype>ca</ownertype> |
|
33 </filter> |
|
34 </actionbody> |
|
35 <actionresult> |
|
36 <return>KErrNone</return> |
|
37 <CCTCertInfo><label>Root5CA</label><readonly>True</readonly></CCTCertInfo> |
|
38 <CCTCertInfo><label>SymbianTestDSACA</label><readonly>True</readonly></CCTCertInfo> |
|
39 <CCTCertInfo><label>SymbianTestRSACA</label><readonly>True</readonly></CCTCertInfo> |
|
40 <CCTCertInfo><label>allcapabilitiesinstall</label><readonly>True</readonly></CCTCertInfo> |
|
41 </actionresult> |
|
42 </action> |
|
43 |
|
44 //! @file |
|
45 //! @SYMTestCaseID Sec-tcertstore-swicertstore1-20 |
|
46 //! @SYMTestCaseDesc Get the systemupgrade flag for sucert |
|
47 //! @SYMREQ REQ0000 |
|
48 //! @SYMTestCasePriority High |
|
49 //! @SYMTestExpectedResults KErrNone |
|
50 <action> |
|
51 <actionname>Get the systemupgrade flag for sucert</actionname> |
|
52 <actiontype>getsystemupgrade</actiontype> |
|
53 <actionbody> |
|
54 <label>SymbianTestRSACA</label> |
|
55 </actionbody> |
|
56 <actionresult> |
|
57 <return>KErrNone</return> |
|
58 <systemupgrade>ETrue</systemupgrade> |
|
59 </actionresult> |
|
60 </action> |
|
61 |
|
62 |
|
63 //! @file |
|
64 //! @SYMTestCaseID Sec-tcertstore-swicertstore1-3 |
|
65 //! @SYMTestCaseDesc Get the list of user certificates |
|
66 //! @SYMREQ REQ0000 |
|
67 //! @SYMTestCasePriority High |
|
68 //! @SYMTestExpectedResults KErrNone |
|
69 <action> |
|
70 <actionname>Get the list of user certificates</actionname> |
|
71 <actiontype>listcert</actiontype> |
|
72 <actionbody> |
|
73 <filter> |
|
74 <ownertype>user</ownertype> |
|
75 </filter> |
|
76 </actionbody> |
|
77 <actionresult> |
|
78 <return>KErrNone</return> |
|
79 </actionresult> |
|
80 </action> |
|
81 |
|
82 //! @file |
|
83 //! @SYMTestCaseID Sec-tcertstore-swicertstore1-4 |
|
84 //! @SYMTestCaseDesc Retrieve Root5CA cert |
|
85 //! @SYMREQ REQ0000 |
|
86 //! @SYMTestCasePriority High |
|
87 //! @SYMTestExpectedResults KErrNone |
|
88 <action> |
|
89 <actionname>Retrieve Root5CA cert</actionname> |
|
90 <actiontype>retrieve</actiontype> |
|
91 <actionbody> |
|
92 <label>Root5CA</label> |
|
93 </actionbody> |
|
94 <actionresult> |
|
95 <return>KErrNone</return> |
|
96 </actionresult> |
|
97 </action> |
|
98 |
|
99 //! @file |
|
100 //! @SYMTestCaseID Sec-tcertstore-swicertstore1-5 |
|
101 //! @SYMTestCaseDesc Retrieve SymbianTestDSACA cert |
|
102 //! @SYMREQ REQ0000 |
|
103 //! @SYMTestCasePriority High |
|
104 //! @SYMTestExpectedResults KErrNone |
|
105 <action> |
|
106 <actionname>Retrieve SymbianTestDSACA cert</actionname> |
|
107 <actiontype>retrieve</actiontype> |
|
108 <actionbody> |
|
109 <label>SymbianTestDSACA</label> |
|
110 </actionbody> |
|
111 <actionresult> |
|
112 <return>KErrNone</return> |
|
113 </actionresult> |
|
114 </action> |
|
115 |
|
116 //! @file |
|
117 //! @SYMTestCaseID Sec-tcertstore-swicertstore1-6 |
|
118 //! @SYMTestCaseDesc Retrieve SymbianTestRSACA cert |
|
119 //! @SYMREQ REQ0000 |
|
120 //! @SYMTestCasePriority High |
|
121 //! @SYMTestExpectedResults KErrNone |
|
122 <action> |
|
123 <actionname>Retrieve SymbianTestRSACA cert</actionname> |
|
124 <actiontype>retrieve</actiontype> |
|
125 <actionbody> |
|
126 <label>SymbianTestRSACA</label> |
|
127 </actionbody> |
|
128 <actionresult> |
|
129 <return>KErrNone</return> |
|
130 </actionresult> |
|
131 </action> |
|
132 |
|
133 //! @file |
|
134 //! @SYMTestCaseID Sec-tcertstore-swicertstore1-7 |
|
135 //! @SYMTestCaseDesc Get applications for Root5CA |
|
136 //! @SYMREQ REQ0000 |
|
137 //! @SYMTestCasePriority High |
|
138 //! @SYMTestExpectedResults KErrNone |
|
139 <action> |
|
140 <actionname>Get applications for Root5CA</actionname> |
|
141 <actiontype>getapplications</actiontype> |
|
142 <actionbody> |
|
143 <label>Root5CA</label> |
|
144 </actionbody> |
|
145 <actionresult> |
|
146 <return>KErrNone</return> |
|
147 <uid>268452523</uid> |
|
148 </actionresult> |
|
149 </action> |
|
150 |
|
151 //! @file |
|
152 //! @SYMTestCaseID Sec-tcertstore-swicertstore1-8 |
|
153 //! @SYMTestCaseDesc Get the trust for Root5CA |
|
154 //! @SYMREQ REQ0000 |
|
155 //! @SYMTestCasePriority High |
|
156 //! @SYMTestExpectedResults KErrNone |
|
157 <action> |
|
158 <actionname>Get the trust for Root5CA</actionname> |
|
159 <actiontype>gettrusters</actiontype> |
|
160 <actionbody> |
|
161 <label>Root5CA</label> |
|
162 </actionbody> |
|
163 <actionresult> |
|
164 <return>KErrNone</return> |
|
165 <trust>1</trust> |
|
166 </actionresult> |
|
167 </action> |
|
168 |
|
169 //! @file |
|
170 //! @SYMTestCaseID Sec-tcertstore-swicertstore1-9 |
|
171 //! @SYMTestCaseDesc Get applications for SymbianTestDSACA |
|
172 //! @SYMREQ REQ0000 |
|
173 //! @SYMTestCasePriority High |
|
174 //! @SYMTestExpectedResults KErrNone |
|
175 <action> |
|
176 <actionname>Get applications for SymbianTestDSACA</actionname> |
|
177 <actiontype>getapplications</actiontype> |
|
178 <actionbody> |
|
179 <label>SymbianTestDSACA</label> |
|
180 </actionbody> |
|
181 <actionresult> |
|
182 <return>KErrNone</return> |
|
183 <uid>268452523 268478646</uid> |
|
184 </actionresult> |
|
185 </action> |
|
186 |
|
187 //! @file |
|
188 //! @SYMTestCaseID Sec-tcertstore-swicertstore1-10 |
|
189 //! @SYMTestCaseDesc Get the trust for SymbianTestDSACA |
|
190 //! @SYMREQ REQ0000 |
|
191 //! @SYMTestCasePriority High |
|
192 //! @SYMTestExpectedResults KErrNone |
|
193 <action> |
|
194 <actionname>Get the trust for SymbianTestDSACA</actionname> |
|
195 <actiontype>gettrusters</actiontype> |
|
196 <actionbody> |
|
197 <label>SymbianTestDSACA</label> |
|
198 </actionbody> |
|
199 <actionresult> |
|
200 <return>KErrNone</return> |
|
201 <trust>1</trust> |
|
202 </actionresult> |
|
203 </action> |
|
204 |
|
205 //! @file |
|
206 //! @SYMTestCaseID Sec-tcertstore-swicertstore1-11 |
|
207 //! @SYMTestCaseDesc Get applications for SymbianTestRSACA |
|
208 //! @SYMREQ REQ0000 |
|
209 //! @SYMTestCasePriority High |
|
210 //! @SYMTestExpectedResults KErrNone |
|
211 <action> |
|
212 <actionname>Get applications for SymbianTestRSACA</actionname> |
|
213 <actiontype>getapplications</actiontype> |
|
214 <actionbody> |
|
215 <label>SymbianTestRSACA</label> |
|
216 </actionbody> |
|
217 <actionresult> |
|
218 <return>KErrNone</return> |
|
219 <uid>268452523 268478646</uid> |
|
220 </actionresult> |
|
221 </action> |
|
222 |
|
223 //! @file |
|
224 //! @SYMTestCaseID Sec-tcertstore-swicertstore1-12 |
|
225 //! @SYMTestCaseDesc Get the trust for SymbianTestRSACA |
|
226 //! @SYMREQ REQ0000 |
|
227 //! @SYMTestCasePriority High |
|
228 //! @SYMTestExpectedResults KErrNone |
|
229 <action> |
|
230 <actionname>Get the trust for SymbianTestRSACA</actionname> |
|
231 <actiontype>gettrusters</actiontype> |
|
232 <actionbody> |
|
233 <label>SymbianTestRSACA</label> |
|
234 </actionbody> |
|
235 <actionresult> |
|
236 <return>KErrNone</return> |
|
237 <trust>1</trust> |
|
238 </actionresult> |
|
239 </action> |
|
240 |
|
241 //! @file |
|
242 //! @SYMTestCaseID Sec-tcertstore-swicertstore1-13 |
|
243 //! @SYMTestCaseDesc Get the capabilities for Root5CA |
|
244 //! @SYMREQ REQ0000 |
|
245 //! @SYMTestCasePriority High |
|
246 //! @SYMTestExpectedResults KErrNone |
|
247 <action> |
|
248 <actionname>Get the capabilities for Root5CA</actionname> |
|
249 <actiontype>getcapabilities</actiontype> |
|
250 <actionbody> |
|
251 <label>Root5CA</label> |
|
252 </actionbody> |
|
253 <actionresult> |
|
254 <return>KErrNone</return> |
|
255 <capability>ReadDeviceData</capability> |
|
256 <capability>WriteDeviceData</capability> |
|
257 <capability>DRM</capability> |
|
258 <capability>AllFiles</capability> |
|
259 </actionresult> |
|
260 </action> |
|
261 |
|
262 //! @file |
|
263 //! @SYMTestCaseID Sec-tcertstore-swicertstore1-14 |
|
264 //! @SYMTestCaseDesc Get the mandatory flag for Root5CA |
|
265 //! @SYMREQ REQ0000 |
|
266 //! @SYMTestCasePriority High |
|
267 //! @SYMTestExpectedResults KErrNone |
|
268 <action> |
|
269 <actionname>Get the mandatory flag for Root5CA</actionname> |
|
270 <actiontype>getmandatory</actiontype> |
|
271 <actionbody> |
|
272 <label>Root5CA</label> |
|
273 </actionbody> |
|
274 <actionresult> |
|
275 <return>KErrNone</return> |
|
276 <mandatory>EFalse</mandatory> |
|
277 </actionresult> |
|
278 </action> |
|
279 |
|
280 //! @file |
|
281 //! @SYMTestCaseID Sec-tcertstore-swicertstore1-15 |
|
282 //! @SYMTestCaseDesc Get the capabilities for SymbianTestDSACA |
|
283 //! @SYMREQ REQ0000 |
|
284 //! @SYMTestCasePriority High |
|
285 //! @SYMTestExpectedResults KErrNone |
|
286 <action> |
|
287 <actionname>Get the capabilities for SymbianTestDSACA</actionname> |
|
288 <actiontype>getcapabilities</actiontype> |
|
289 <actionbody> |
|
290 <label>SymbianTestDSACA</label> |
|
291 </actionbody> |
|
292 <actionresult> |
|
293 <return>KErrNone</return> |
|
294 <capability>MultimediaDD</capability> |
|
295 <capability>NetworkServices</capability> |
|
296 <capability>LocalServices</capability> |
|
297 <capability>Location</capability> |
|
298 </actionresult> |
|
299 </action> |
|
300 |
|
301 //! @file |
|
302 //! @SYMTestCaseID Sec-tcertstore-swicertstore1-16 |
|
303 //! @SYMTestCaseDesc Get the mandatory flag for SymbianTestDSACA |
|
304 //! @SYMREQ REQ0000 |
|
305 //! @SYMTestCasePriority High |
|
306 //! @SYMTestExpectedResults KErrNone |
|
307 <action> |
|
308 <actionname>Get the mandatory flag for SymbianTestDSACA</actionname> |
|
309 <actiontype>getmandatory</actiontype> |
|
310 <actionbody> |
|
311 <label>SymbianTestDSACA</label> |
|
312 </actionbody> |
|
313 <actionresult> |
|
314 <return>KErrNone</return> |
|
315 <mandatory>EFalse</mandatory> |
|
316 </actionresult> |
|
317 </action> |
|
318 |
|
319 //! @file |
|
320 //! @SYMTestCaseID Sec-tcertstore-swicertstore1-17 |
|
321 //! @SYMTestCaseDesc Get the capabilities for SymbianTestRSACA |
|
322 //! @SYMREQ REQ0000 |
|
323 //! @SYMTestCasePriority High |
|
324 //! @SYMTestExpectedResults KErrNone |
|
325 <action> |
|
326 <actionname>Get the capabilities for SymbianTestRSACA</actionname> |
|
327 <actiontype>getcapabilities</actiontype> |
|
328 <actionbody> |
|
329 <label>SymbianTestRSACA</label> |
|
330 </actionbody> |
|
331 <actionresult> |
|
332 <return>KErrNone</return> |
|
333 <capability>ReadUserData</capability> |
|
334 <capability>WriteUserData</capability> |
|
335 </actionresult> |
|
336 </action> |
|
337 |
|
338 //! @file |
|
339 //! @SYMTestCaseID Sec-tcertstore-swicertstore1-18 |
|
340 //! @SYMTestCaseDesc Get the mandatory flag for |
|
341 //! @SYMREQ REQ0000 |
|
342 //! @SYMTestCasePriority High |
|
343 //! @SYMTestExpectedResults KErrNone |
|
344 <action> |
|
345 <actionname>Get the mandatory flag for </actionname> |
|
346 <actiontype>getmandatory</actiontype> |
|
347 <actionbody> |
|
348 <label>SymbianTestRSACA</label> |
|
349 </actionbody> |
|
350 <actionresult> |
|
351 <return>KErrNone</return> |
|
352 <mandatory>EFalse</mandatory> |
|
353 </actionresult> |
|
354 </action> |
|
355 |
|
356 //! @file |
|
357 //! @SYMTestCaseID Sec-tcertstore-swicertstore1-19 |
|
358 //! @SYMTestCaseDesc Deleting the SWI cert store |
|
359 //! @SYMREQ REQ0000 |
|
360 //! @SYMTestCasePriority High |
|
361 //! @SYMTestExpectedResults KErrNone |
|
362 <action> |
|
363 <actionname>Deleting the SWI cert store</actionname> |
|
364 <actiontype>delete</actiontype> |
|
365 <actionbody></actionbody> |
|
366 <actionresult> |
|
367 <return>KErrNone</return> |
|
368 </actionresult> |
|
369 </action> |
|
370 |
|
371 |
|