|
1 [SEC-TCERTSTORE-APIPOLICING-0.1.2-001] |
|
2 <actionbody> |
|
3 <name>A1</name> |
|
4 <uid>1</uid> |
|
5 </actionbody> |
|
6 |
|
7 [SEC-TCERTSTORE-APIPOLICING-0.1.3-001] |
|
8 <actionbody> |
|
9 <name>A2</name> |
|
10 <uid>2</uid> |
|
11 </actionbody> |
|
12 |
|
13 [SEC-TCERTSTORE-APIPOLICING-0.1.4-001] |
|
14 <actionbody> |
|
15 <name>A3</name> |
|
16 <uid>3</uid> |
|
17 </actionbody> |
|
18 |
|
19 [SEC-TCERTSTORE-APIPOLICING-0.1.5-001] |
|
20 <actionbody> |
|
21 <name>A4</name> |
|
22 <uid>4</uid> |
|
23 </actionbody> |
|
24 |
|
25 [SEC-TCERTSTORE-APIPOLICING-0.2-001] |
|
26 <actionbody> |
|
27 <mode>write</mode> |
|
28 </actionbody> |
|
29 |
|
30 [SEC-TCERTSTORE-APIPOLICING-0.3.1-001] |
|
31 <actionbody> |
|
32 <storeindex>0</storeindex> |
|
33 </actionbody> |
|
34 <actionresult> |
|
35 <numberofstores>1</numberofstores> |
|
36 </actionresult> |
|
37 |
|
38 [SEC-TCERTSTORE-APIPOLICING-0.3.2-001] |
|
39 <actionbody> |
|
40 <storeindex>0</storeindex> |
|
41 </actionbody> |
|
42 <actionresult> |
|
43 <numberofstores>0</numberofstores> |
|
44 </actionresult> |
|
45 |
|
46 [SEC-TCERTSTORE-APIPOLICING-0.3.3-001] |
|
47 <actionbody> |
|
48 <storeindex>0</storeindex> |
|
49 </actionbody> |
|
50 <actionresult> |
|
51 <numberofstores>1</numberofstores> |
|
52 </actionresult> |
|
53 |
|
54 [SEC-TCERTSTORE-APIPOLICING-0.4-001] |
|
55 <actionbody> |
|
56 <label>*.*</label> |
|
57 <deleteallcerts>1</deleteallcerts> |
|
58 </actionbody> |
|
59 |
|
60 [SEC-TCERTSTORE-APIPOLICING-0.5-001] |
|
61 <actionbody> |
|
62 <ImportData>rsacertkey1.txt</ImportData> |
|
63 <keyusage>AllUsagesButNR</keyusage> |
|
64 <keylabel>*IMPORTED* RSA key 1</keylabel> |
|
65 <keyaccesstype>Extractable</keyaccesstype> |
|
66 </actionbody> |
|
67 |
|
68 [SEC-TCERTSTORE-APIPOLICING-1.1-001] |
|
69 <actionbody> |
|
70 <testexe>t_certstore.exe</testexe> |
|
71 <excludedcapabilities> |
|
72 <capability>TCB</capability> |
|
73 </excludedcapabilities> |
|
74 <policy> |
|
75 <capability>WriteDeviceData</capability> |
|
76 </policy> |
|
77 |
|
78 <preactions> |
|
79 <action> |
|
80 <actionname>Opening a writable certificate store manager</actionname> |
|
81 <actiontype>init</actiontype> |
|
82 <actionbody> |
|
83 <mode>write</mode> |
|
84 </actionbody> |
|
85 <actionresult> |
|
86 <return>KErrNone</return> |
|
87 </actionresult> |
|
88 </action> |
|
89 </preactions> |
|
90 |
|
91 <passactions> |
|
92 <action> |
|
93 <actionname>Add the certificate CAX1</actionname> |
|
94 <actiontype>addcert</actiontype> |
|
95 <actionbody> |
|
96 <format>X509</format> |
|
97 <label>CAX1</label> |
|
98 <issuerkey></issuerkey> |
|
99 <subjectkey></subjectkey> |
|
100 <certstore>0</certstore> |
|
101 <certfile>c:\unifiedcertstore2\CAX1.cer</certfile> |
|
102 <certowner>ca</certowner> |
|
103 </actionbody> |
|
104 <actionresult> |
|
105 <return>KErrNone</return> |
|
106 </actionresult> |
|
107 </action> |
|
108 |
|
109 <action> |
|
110 <actionname>Get the list of certificates</actionname> |
|
111 <actiontype>listcert</actiontype> |
|
112 <actionbody> |
|
113 <filter> |
|
114 <ownertype>ca</ownertype> |
|
115 </filter> |
|
116 </actionbody> |
|
117 <actionresult> |
|
118 <return>KErrNone</return> |
|
119 <CCTCertInfo><label>CAX1</label></CCTCertInfo> |
|
120 </actionresult> |
|
121 </action> |
|
122 </passactions> |
|
123 |
|
124 <failactions> |
|
125 <action> |
|
126 <actionname>Add the certificate CAX1</actionname> |
|
127 <actiontype>addcert</actiontype> |
|
128 <actionbody> |
|
129 <format>X509</format> |
|
130 <label>CAX1</label> |
|
131 <issuerkey></issuerkey> |
|
132 <subjectkey></subjectkey> |
|
133 <certstore>0</certstore> |
|
134 <certfile>c:\unifiedcertstore2\CAX1.cer</certfile> |
|
135 <certowner>ca</certowner> |
|
136 </actionbody> |
|
137 <actionresult> |
|
138 <return>KErrPermissionDenied</return> |
|
139 </actionresult> |
|
140 </action> |
|
141 |
|
142 <action> |
|
143 <actionname>Get the list of certificates</actionname> |
|
144 <actiontype>listcert</actiontype> |
|
145 <actionbody> |
|
146 <filter> |
|
147 <ownertype>ca</ownertype> |
|
148 </filter> |
|
149 </actionbody> |
|
150 <actionresult> |
|
151 <return>KErrNone</return> |
|
152 </actionresult> |
|
153 </action> |
|
154 </failactions> |
|
155 |
|
156 <postactions> |
|
157 <action> |
|
158 <actionname>Deleting the writable certificate store manager</actionname> |
|
159 <actiontype>delete</actiontype> |
|
160 <actionbody></actionbody> |
|
161 <actionresult> |
|
162 <return>KErrNone</return> |
|
163 </actionresult> |
|
164 </action> |
|
165 </postactions> |
|
166 </actionbody> |
|
167 |
|
168 [SEC-TCERTSTORE-APIPOLICING-1.2-001] |
|
169 <actionbody> |
|
170 <testexe>t_certstore.exe</testexe> |
|
171 <excludedcapabilities> |
|
172 <capability>TCB</capability> |
|
173 </excludedcapabilities> |
|
174 <policy> |
|
175 <capability>WriteDeviceData</capability> |
|
176 </policy> |
|
177 |
|
178 <preactions> |
|
179 <action> |
|
180 <actionname>Opening a writable certificate store manager</actionname> |
|
181 <actiontype>init</actiontype> |
|
182 <actionbody> |
|
183 <mode>write</mode> |
|
184 </actionbody> |
|
185 <actionresult> |
|
186 <return>KErrNone</return> |
|
187 </actionresult> |
|
188 </action> |
|
189 </preactions> |
|
190 |
|
191 <passactions> |
|
192 <action> |
|
193 <actionname>Set applications to the CAX1 certificate</actionname> |
|
194 <actiontype>setapplications</actiontype> |
|
195 <actionbody> |
|
196 <label>CAX1</label> |
|
197 <uid>2 3</uid> |
|
198 </actionbody> |
|
199 <actionresult> |
|
200 <return>KErrNone</return> |
|
201 </actionresult> |
|
202 </action> |
|
203 |
|
204 <action> |
|
205 <actionname>Set the trust for CAX1</actionname> |
|
206 <actiontype>settrust</actiontype> |
|
207 <actionbody> |
|
208 <label>CAX1</label> |
|
209 <trust>1</trust> |
|
210 </actionbody> |
|
211 <actionresult> |
|
212 <return>KErrNone</return> |
|
213 </actionresult> |
|
214 </action> |
|
215 |
|
216 <action> |
|
217 <actionname>Get applications for CAX1</actionname> |
|
218 <actiontype>getapplications</actiontype> |
|
219 <actionbody> |
|
220 <label>CAX1</label> |
|
221 </actionbody> |
|
222 <actionresult> |
|
223 <return>KErrNone</return> |
|
224 <uid>2 3</uid> |
|
225 </actionresult> |
|
226 </action> |
|
227 |
|
228 <action> |
|
229 <actionname>Get the trust for CAX1</actionname> |
|
230 <actiontype>gettrusters</actiontype> |
|
231 <actionbody> |
|
232 <label>CAX1</label> |
|
233 </actionbody> |
|
234 <actionresult> |
|
235 <return>KErrNone</return> |
|
236 <trust>1</trust> |
|
237 </actionresult> |
|
238 </action> |
|
239 </passactions> |
|
240 |
|
241 <failactions> |
|
242 <action> |
|
243 <actionname>Set applications to the CAX1 certificate</actionname> |
|
244 <actiontype>setapplications</actiontype> |
|
245 <actionbody> |
|
246 <label>CAX1</label> |
|
247 <uid>2 3</uid> |
|
248 </actionbody> |
|
249 <actionresult> |
|
250 <return>KErrPermissionDenied</return> |
|
251 </actionresult> |
|
252 </action> |
|
253 |
|
254 <action> |
|
255 <actionname>Set the trust for CAX1</actionname> |
|
256 <actiontype>settrust</actiontype> |
|
257 <actionbody> |
|
258 <label>CAX1</label> |
|
259 <trust>1</trust> |
|
260 </actionbody> |
|
261 <actionresult> |
|
262 <return>KErrPermissionDenied</return> |
|
263 </actionresult> |
|
264 </action> |
|
265 |
|
266 <action> |
|
267 <actionname>Get applications for CAX1</actionname> |
|
268 <actiontype>getapplications</actiontype> |
|
269 <actionbody> |
|
270 <label>CAX1</label> |
|
271 </actionbody> |
|
272 <actionresult> |
|
273 <return>KErrNone</return> |
|
274 <uid></uid> |
|
275 </actionresult> |
|
276 </action> |
|
277 |
|
278 <action> |
|
279 <actionname>Get the trust for CAX1</actionname> |
|
280 <actiontype>gettrusters</actiontype> |
|
281 <actionbody> |
|
282 <label>CAX1</label> |
|
283 </actionbody> |
|
284 <actionresult> |
|
285 <return>KErrNone</return> |
|
286 <trust>0</trust> |
|
287 </actionresult> |
|
288 </action> |
|
289 </failactions> |
|
290 |
|
291 <postactions> |
|
292 <action> |
|
293 <actionname>Deleting the writable certificate store manager</actionname> |
|
294 <actiontype>delete</actiontype> |
|
295 <actionbody></actionbody> |
|
296 <actionresult> |
|
297 <return>KErrNone</return> |
|
298 </actionresult> |
|
299 </action> |
|
300 </postactions> |
|
301 </actionbody> |
|
302 |
|
303 [SEC-TCERTSTORE-APIPOLICING-1.3-001] |
|
304 <actionbody> |
|
305 <testexe>t_certstore.exe</testexe> |
|
306 <excludedcapabilities> |
|
307 <capability>TCB</capability> |
|
308 </excludedcapabilities> |
|
309 <policy> |
|
310 </policy> |
|
311 |
|
312 <preactions> |
|
313 <action> |
|
314 <actionname>Opening a writable certificate store manager</actionname> |
|
315 <actiontype>init</actiontype> |
|
316 <actionbody> |
|
317 <mode>write</mode> |
|
318 </actionbody> |
|
319 <actionresult> |
|
320 <return>KErrNone</return> |
|
321 </actionresult> |
|
322 </action> |
|
323 </preactions> |
|
324 |
|
325 <passactions> |
|
326 <action> |
|
327 <actionname>Get applications for CAX1</actionname> |
|
328 <actiontype>getapplications</actiontype> |
|
329 <actionbody> |
|
330 <label>CAX1</label> |
|
331 </actionbody> |
|
332 <actionresult> |
|
333 <return>KErrNone</return> |
|
334 <uid>2 3</uid> |
|
335 </actionresult> |
|
336 </action> |
|
337 |
|
338 <action> |
|
339 <actionname>Get the trust for CAX1</actionname> |
|
340 <actiontype>gettrusters</actiontype> |
|
341 <actionbody> |
|
342 <label>CAX1</label> |
|
343 </actionbody> |
|
344 <actionresult> |
|
345 <return>KErrNone</return> |
|
346 <trust>1</trust> |
|
347 </actionresult> |
|
348 </action> |
|
349 |
|
350 <action> |
|
351 <actionname>Get the list of certificates</actionname> |
|
352 <actiontype>listcert</actiontype> |
|
353 <actionbody> |
|
354 <filter> |
|
355 <ownertype>ca</ownertype> |
|
356 </filter> |
|
357 </actionbody> |
|
358 <actionresult> |
|
359 <return>KErrNone</return> |
|
360 <CCTCertInfo><label>CAX1</label></CCTCertInfo> |
|
361 </actionresult> |
|
362 </action> |
|
363 |
|
364 <action> |
|
365 <actionname>Retrieve CAX1 cert</actionname> |
|
366 <actiontype>retrieve</actiontype> |
|
367 <actionbody> |
|
368 <label>CAX1</label> |
|
369 </actionbody> |
|
370 <actionresult> |
|
371 <return>KErrNone</return> |
|
372 </actionresult> |
|
373 </action> |
|
374 </passactions> |
|
375 |
|
376 <failactions> |
|
377 </failactions> |
|
378 |
|
379 <postactions> |
|
380 <action> |
|
381 <actionname>Deleting the writable certificate store manager</actionname> |
|
382 <actiontype>delete</actiontype> |
|
383 <actionbody></actionbody> |
|
384 <actionresult> |
|
385 <return>KErrNone</return> |
|
386 </actionresult> |
|
387 </action> |
|
388 </postactions> |
|
389 </actionbody> |
|
390 |
|
391 [SEC-TCERTSTORE-APIPOLICING-1.4-001] |
|
392 <actionbody> |
|
393 <testexe>t_certstore.exe</testexe> |
|
394 <excludedcapabilities> |
|
395 <capability>TCB</capability> |
|
396 </excludedcapabilities> |
|
397 <policy> |
|
398 <capability>WriteDeviceData</capability> |
|
399 </policy> |
|
400 |
|
401 <preactions> |
|
402 <action> |
|
403 <actionname>Opening a writable certificate store manager</actionname> |
|
404 <actiontype>init</actiontype> |
|
405 <actionbody> |
|
406 <mode>write</mode> |
|
407 </actionbody> |
|
408 <actionresult> |
|
409 <return>KErrNone</return> |
|
410 </actionresult> |
|
411 </action> |
|
412 </preactions> |
|
413 |
|
414 <passactions> |
|
415 <action> |
|
416 <actionname>Remove the certificate CAX1</actionname> |
|
417 <actiontype>deletecert</actiontype> |
|
418 <actionbody> |
|
419 <certtype>ca</certtype> |
|
420 <label>CAX1</label> |
|
421 </actionbody> |
|
422 <actionresult> |
|
423 <return>KErrNone</return> |
|
424 </actionresult> |
|
425 </action> |
|
426 |
|
427 <action> |
|
428 <actionname>Get the list of certificates</actionname> |
|
429 <actiontype>listcert</actiontype> |
|
430 <actionbody> |
|
431 <filter> |
|
432 <ownertype>ca</ownertype> |
|
433 </filter> |
|
434 </actionbody> |
|
435 <actionresult> |
|
436 <return>KErrNone</return> |
|
437 </actionresult> |
|
438 </action> |
|
439 </passactions> |
|
440 |
|
441 <failactions> |
|
442 <action> |
|
443 <actionname>Remove the certificate CAX1</actionname> |
|
444 <actiontype>deletecert</actiontype> |
|
445 <actionbody> |
|
446 <certtype>ca</certtype> |
|
447 <label>CAX1</label> |
|
448 </actionbody> |
|
449 <actionresult> |
|
450 <return>KErrPermissionDenied</return> |
|
451 </actionresult> |
|
452 </action> |
|
453 |
|
454 <action> |
|
455 <actionname>Get the list of certificates</actionname> |
|
456 <actiontype>listcert</actiontype> |
|
457 <actionbody> |
|
458 <filter> |
|
459 <ownertype>ca</ownertype> |
|
460 </filter> |
|
461 </actionbody> |
|
462 <actionresult> |
|
463 <CCTCertInfo><label>CAX1</label></CCTCertInfo> |
|
464 <return>KErrNone</return> |
|
465 </actionresult> |
|
466 </action> |
|
467 </failactions> |
|
468 |
|
469 <postactions> |
|
470 <action> |
|
471 <actionname>Deleting the writable certificate store manager</actionname> |
|
472 <actiontype>delete</actiontype> |
|
473 <actionbody></actionbody> |
|
474 <actionresult> |
|
475 <return>KErrNone</return> |
|
476 </actionresult> |
|
477 </action> |
|
478 </postactions> |
|
479 </actionbody> |
|
480 |
|
481 [SEC-TCERTSTORE-APIPOLICING-2.1-001] |
|
482 <actionbody> |
|
483 <testexe>t_certstore.exe</testexe> |
|
484 <excludedcapabilities> |
|
485 <capability>TCB</capability> |
|
486 </excludedcapabilities> |
|
487 <policy> |
|
488 <capability>ReadUserData</capability> |
|
489 <capability>WriteUserData</capability> |
|
490 </policy> |
|
491 |
|
492 <preactions> |
|
493 <action> |
|
494 <actionname>Opening a writable certificate store manager</actionname> |
|
495 <actiontype>init</actiontype> |
|
496 <actionbody> |
|
497 <mode>write</mode> |
|
498 </actionbody> |
|
499 <actionresult> |
|
500 <return>KErrNone</return> |
|
501 </actionresult> |
|
502 </action> |
|
503 </preactions> |
|
504 |
|
505 <failactions> |
|
506 <action> |
|
507 <actionname>Add the certificate rsacert1</actionname> |
|
508 <actiontype>addcert</actiontype> |
|
509 <actionbody> |
|
510 <format>X509</format> |
|
511 <label>rsacert1</label> |
|
512 <issuerkey></issuerkey> |
|
513 <subjectkey>4808f03892fe836e78d048bcefcca4a37913d886</subjectkey> |
|
514 <certstore>0</certstore> |
|
515 <certfile>c:\unifiedcertstore2\rsacert1.cer</certfile> |
|
516 <certowner>user</certowner> |
|
517 </actionbody> |
|
518 <actionresult> |
|
519 <return>KErrPermissionDenied</return> |
|
520 </actionresult> |
|
521 </action> |
|
522 |
|
523 <action> |
|
524 <actionname>Get the list of certificates</actionname> |
|
525 <actiontype>listcert</actiontype> |
|
526 <actionbody> |
|
527 <filter> |
|
528 <ownertype>user</ownertype> |
|
529 </filter> |
|
530 </actionbody> |
|
531 <actionresult> |
|
532 <return>KErrNone</return> |
|
533 </actionresult> |
|
534 </action> |
|
535 </failactions> |
|
536 |
|
537 <passactions> |
|
538 <action> |
|
539 <actionname>Add the certificate rsacert1</actionname> |
|
540 <actiontype>addcert</actiontype> |
|
541 <actionbody> |
|
542 <format>X509</format> |
|
543 <label>rsacert1</label> |
|
544 <issuerkey></issuerkey> |
|
545 <subjectkey>4808f03892fe836e78d048bcefcca4a37913d886</subjectkey> |
|
546 <certstore>0</certstore> |
|
547 <certfile>c:\unifiedcertstore2\rsacert1.cer</certfile> |
|
548 <certowner>user</certowner> |
|
549 </actionbody> |
|
550 <actionresult> |
|
551 <return>KErrNone</return> |
|
552 </actionresult> |
|
553 </action> |
|
554 |
|
555 <action> |
|
556 <actionname>Get the list of certificates</actionname> |
|
557 <actiontype>listcert</actiontype> |
|
558 <actionbody> |
|
559 <filter> |
|
560 <ownertype>user</ownertype> |
|
561 </filter> |
|
562 </actionbody> |
|
563 <actionresult> |
|
564 <CCTCertInfo><label>rsacert1</label></CCTCertInfo> |
|
565 <return>KErrNone</return> |
|
566 </actionresult> |
|
567 </action> |
|
568 </passactions> |
|
569 |
|
570 <postactions> |
|
571 <action> |
|
572 <actionname>Deleting the writable certificate store manager</actionname> |
|
573 <actiontype>delete</actiontype> |
|
574 <actionbody></actionbody> |
|
575 <actionresult> |
|
576 <return>KErrNone</return> |
|
577 </actionresult> |
|
578 </action> |
|
579 </postactions> |
|
580 </actionbody> |
|
581 |
|
582 [SEC-TCERTSTORE-APIPOLICING-2.2-001] |
|
583 <actionbody> |
|
584 <testexe>t_certstore.exe</testexe> |
|
585 <excludedcapabilities> |
|
586 <capability>TCB</capability> |
|
587 </excludedcapabilities> |
|
588 <policy> |
|
589 </policy> |
|
590 |
|
591 <preactions> |
|
592 <action> |
|
593 <actionname>Opening a writable certificate store manager</actionname> |
|
594 <actiontype>init</actiontype> |
|
595 <actionbody> |
|
596 <mode>write</mode> |
|
597 </actionbody> |
|
598 <actionresult> |
|
599 <return>KErrNone</return> |
|
600 </actionresult> |
|
601 </action> |
|
602 </preactions> |
|
603 |
|
604 <passactions> |
|
605 <action> |
|
606 <actionname>Get the list of certificates</actionname> |
|
607 <actiontype>listcert</actiontype> |
|
608 <actionbody> |
|
609 <filter> |
|
610 <ownertype>user</ownertype> |
|
611 </filter> |
|
612 </actionbody> |
|
613 <actionresult> |
|
614 <return>KErrNone</return> |
|
615 <CCTCertInfo><label>rsacert1</label></CCTCertInfo> |
|
616 </actionresult> |
|
617 </action> |
|
618 </passactions> |
|
619 |
|
620 <failactions> |
|
621 </failactions> |
|
622 |
|
623 <postactions> |
|
624 <action> |
|
625 <actionname>Deleting the writable certificate store manager</actionname> |
|
626 <actiontype>delete</actiontype> |
|
627 <actionbody></actionbody> |
|
628 <actionresult> |
|
629 <return>KErrNone</return> |
|
630 </actionresult> |
|
631 </action> |
|
632 </postactions> |
|
633 </actionbody> |
|
634 |
|
635 [SEC-TCERTSTORE-APIPOLICING-2.3-001] |
|
636 <actionbody> |
|
637 <testexe>t_certstore.exe</testexe> |
|
638 <excludedcapabilities> |
|
639 <capability>TCB</capability> |
|
640 </excludedcapabilities> |
|
641 <policy> |
|
642 <capability>ReadUserData</capability> |
|
643 </policy> |
|
644 |
|
645 <preactions> |
|
646 <action> |
|
647 <actionname>Opening a writable certificate store manager</actionname> |
|
648 <actiontype>init</actiontype> |
|
649 <actionbody> |
|
650 <mode>write</mode> |
|
651 </actionbody> |
|
652 <actionresult> |
|
653 <return>KErrNone</return> |
|
654 </actionresult> |
|
655 </action> |
|
656 </preactions> |
|
657 |
|
658 <passactions> |
|
659 <action> |
|
660 <actionname>Retrieve rsacert1 cert</actionname> |
|
661 <actiontype>retrieve</actiontype> |
|
662 <actionbody> |
|
663 <label>rsacert1</label> |
|
664 </actionbody> |
|
665 <actionresult> |
|
666 <return>KErrNone</return> |
|
667 </actionresult> |
|
668 </action> |
|
669 </passactions> |
|
670 |
|
671 <failactions> |
|
672 <action> |
|
673 <actionname>Retrieve rsacert1 cert</actionname> |
|
674 <actiontype>retrieve</actiontype> |
|
675 <actionbody> |
|
676 <label>rsacert1</label> |
|
677 </actionbody> |
|
678 <actionresult> |
|
679 <return>KErrPermissionDenied</return> |
|
680 </actionresult> |
|
681 </action> |
|
682 </failactions> |
|
683 |
|
684 <postactions> |
|
685 <action> |
|
686 <actionname>Deleting the writable certificate store manager</actionname> |
|
687 <actiontype>delete</actiontype> |
|
688 <actionbody></actionbody> |
|
689 <actionresult> |
|
690 <return>KErrNone</return> |
|
691 </actionresult> |
|
692 </action> |
|
693 </postactions> |
|
694 </actionbody> |
|
695 |
|
696 [SEC-TCERTSTORE-APIPOLICING-2.4-001] |
|
697 <actionbody> |
|
698 <testexe>t_certstore.exe</testexe> |
|
699 <excludedcapabilities> |
|
700 <capability>TCB</capability> |
|
701 </excludedcapabilities> |
|
702 <policy> |
|
703 <capability>WriteUserData</capability> |
|
704 </policy> |
|
705 |
|
706 <preactions> |
|
707 <action> |
|
708 <actionname>Opening a writable certificate store manager</actionname> |
|
709 <actiontype>init</actiontype> |
|
710 <actionbody> |
|
711 <mode>write</mode> |
|
712 </actionbody> |
|
713 <actionresult> |
|
714 <return>KErrNone</return> |
|
715 </actionresult> |
|
716 </action> |
|
717 </preactions> |
|
718 |
|
719 <passactions> |
|
720 <action> |
|
721 <actionname>Remove the certificate rsacert1</actionname> |
|
722 <actiontype>deletecert</actiontype> |
|
723 <actionbody> |
|
724 <certtype>user</certtype> |
|
725 <label>rsacert1</label> |
|
726 </actionbody> |
|
727 <actionresult> |
|
728 <return>KErrNone</return> |
|
729 </actionresult> |
|
730 </action> |
|
731 |
|
732 <action> |
|
733 <actionname>Get the list of certificates</actionname> |
|
734 <actiontype>listcert</actiontype> |
|
735 <actionbody> |
|
736 <filter> |
|
737 <ownertype>user</ownertype> |
|
738 </filter> |
|
739 </actionbody> |
|
740 <actionresult> |
|
741 <return>KErrNone</return> |
|
742 </actionresult> |
|
743 </action> |
|
744 </passactions> |
|
745 |
|
746 <failactions> |
|
747 <action> |
|
748 <actionname>Remove the certificate rsacert1</actionname> |
|
749 <actiontype>deletecert</actiontype> |
|
750 <actionbody> |
|
751 <certtype>user</certtype> |
|
752 <label>rsacert1</label> |
|
753 </actionbody> |
|
754 <actionresult> |
|
755 <return>KErrPermissionDenied</return> |
|
756 </actionresult> |
|
757 </action> |
|
758 |
|
759 <action> |
|
760 <actionname>Get the list of certificates</actionname> |
|
761 <actiontype>listcert</actiontype> |
|
762 <actionbody> |
|
763 <filter> |
|
764 <ownertype>user</ownertype> |
|
765 </filter> |
|
766 </actionbody> |
|
767 <actionresult> |
|
768 <CCTCertInfo><label>rsacert1</label></CCTCertInfo> |
|
769 <return>KErrNone</return> |
|
770 </actionresult> |
|
771 </action> |
|
772 </failactions> |
|
773 |
|
774 <postactions> |
|
775 <action> |
|
776 <actionname>Deleting the writable certificate store manager</actionname> |
|
777 <actiontype>delete</actiontype> |
|
778 <actionbody></actionbody> |
|
779 <actionresult> |
|
780 <return>KErrNone</return> |
|
781 </actionresult> |
|
782 </action> |
|
783 </postactions> |
|
784 </actionbody> |
|
785 |
|
786 [SEC-TCERTSTORE-APIPOLICING-3.1-001] |
|
787 <actionbody> |
|
788 <testexe>t_certstore.exe</testexe> |
|
789 <excludedcapabilities> |
|
790 <capability>TCB</capability> |
|
791 </excludedcapabilities> |
|
792 <policy> |
|
793 <capability>WriteUserData</capability> |
|
794 </policy> |
|
795 |
|
796 <preactions> |
|
797 <action> |
|
798 <actionname>Opening a writable certificate store manager</actionname> |
|
799 <actiontype>init</actiontype> |
|
800 <actionbody> |
|
801 <mode>write</mode> |
|
802 </actionbody> |
|
803 <actionresult> |
|
804 <return>KErrNone</return> |
|
805 </actionresult> |
|
806 </action> |
|
807 </preactions> |
|
808 |
|
809 <failactions> |
|
810 <action> |
|
811 <actionname>Add the certificate U5K3</actionname> |
|
812 <actiontype>addcert</actiontype> |
|
813 <actionbody> |
|
814 <format>X509</format> |
|
815 <label>U5K3</label> |
|
816 <issuerkey></issuerkey> |
|
817 <subjectkey>eeda2c6da84f17519ee837eadb8a5289dadfbb26</subjectkey> |
|
818 <certstore>0</certstore> |
|
819 <certfile>c:\unifiedcertstore2\U5K3.crt</certfile> |
|
820 <certowner>peer</certowner> |
|
821 </actionbody> |
|
822 <actionresult> |
|
823 <return>KErrPermissionDenied</return> |
|
824 </actionresult> |
|
825 </action> |
|
826 |
|
827 <action> |
|
828 <actionname>Get the list of certificates</actionname> |
|
829 <actiontype>listpeercert</actiontype> |
|
830 <actionbody> |
|
831 <filter> |
|
832 <ownertype>peer</ownertype> |
|
833 </filter> |
|
834 </actionbody> |
|
835 <actionresult> |
|
836 <return>KErrNone</return> |
|
837 </actionresult> |
|
838 </action> |
|
839 </failactions> |
|
840 |
|
841 <passactions> |
|
842 <action> |
|
843 <actionname>Add the certificate U5K3</actionname> |
|
844 <actiontype>addcert</actiontype> |
|
845 <actionbody> |
|
846 <format>X509</format> |
|
847 <label>U5K3</label> |
|
848 <issuerkey></issuerkey> |
|
849 <subjectkey>eeda2c6da84f17519ee837eadb8a5289dadfbb26</subjectkey> |
|
850 <certstore>0</certstore> |
|
851 <certfile>c:\unifiedcertstore2\U5K3.crt</certfile> |
|
852 <certowner>peer</certowner> |
|
853 </actionbody> |
|
854 <actionresult> |
|
855 <return>KErrNone</return> |
|
856 </actionresult> |
|
857 </action> |
|
858 |
|
859 <action> |
|
860 <actionname>Get the list of certificates</actionname> |
|
861 <actiontype>listcert</actiontype> |
|
862 <actionbody> |
|
863 <filter> |
|
864 <ownertype>peer</ownertype> |
|
865 </filter> |
|
866 </actionbody> |
|
867 <actionresult> |
|
868 <return>KErrNone</return> |
|
869 <CCTCertInfo><label>U5K3</label></CCTCertInfo> |
|
870 </actionresult> |
|
871 </action> |
|
872 </passactions> |
|
873 |
|
874 <postactions> |
|
875 <action> |
|
876 <actionname>Deleting the writable certificate store manager</actionname> |
|
877 <actiontype>delete</actiontype> |
|
878 <actionbody></actionbody> |
|
879 <actionresult> |
|
880 <return>KErrNone</return> |
|
881 </actionresult> |
|
882 </action> |
|
883 </postactions> |
|
884 </actionbody> |
|
885 |
|
886 [SEC-TCERTSTORE-APIPOLICING-3.2-001] |
|
887 <actionbody> |
|
888 <testexe>t_certstore.exe</testexe> |
|
889 <excludedcapabilities> |
|
890 <capability>TCB</capability> |
|
891 </excludedcapabilities> |
|
892 <policy> |
|
893 </policy> |
|
894 |
|
895 <preactions> |
|
896 <action> |
|
897 <actionname>Opening a writable certificate store manager</actionname> |
|
898 <actiontype>init</actiontype> |
|
899 <actionbody> |
|
900 <mode>write</mode> |
|
901 </actionbody> |
|
902 <actionresult> |
|
903 <return>KErrNone</return> |
|
904 </actionresult> |
|
905 </action> |
|
906 </preactions> |
|
907 |
|
908 <passactions> |
|
909 <action> |
|
910 <actionname>Get the list of certificates</actionname> |
|
911 <actiontype>listcert</actiontype> |
|
912 <actionbody> |
|
913 <filter> |
|
914 <ownertype>peer</ownertype> |
|
915 </filter> |
|
916 </actionbody> |
|
917 <actionresult> |
|
918 <return>KErrNone</return> |
|
919 <CCTCertInfo><label>U5K3</label></CCTCertInfo> |
|
920 </actionresult> |
|
921 </action> |
|
922 </passactions> |
|
923 |
|
924 <failactions> |
|
925 </failactions> |
|
926 |
|
927 <postactions> |
|
928 <action> |
|
929 <actionname>Deleting the writable certificate store manager</actionname> |
|
930 <actiontype>delete</actiontype> |
|
931 <actionbody></actionbody> |
|
932 <actionresult> |
|
933 <return>KErrNone</return> |
|
934 </actionresult> |
|
935 </action> |
|
936 </postactions> |
|
937 </actionbody> |
|
938 |
|
939 [SEC-TCERTSTORE-APIPOLICING-3.3-001] |
|
940 <actionbody> |
|
941 <testexe>t_certstore.exe</testexe> |
|
942 <excludedcapabilities> |
|
943 <capability>TCB</capability> |
|
944 </excludedcapabilities> |
|
945 <policy> |
|
946 <capability>ReadUserData</capability> |
|
947 </policy> |
|
948 |
|
949 <preactions> |
|
950 <action> |
|
951 <actionname>Opening a writable certificate store manager</actionname> |
|
952 <actiontype>init</actiontype> |
|
953 <actionbody> |
|
954 <mode>write</mode> |
|
955 </actionbody> |
|
956 <actionresult> |
|
957 <return>KErrNone</return> |
|
958 </actionresult> |
|
959 </action> |
|
960 </preactions> |
|
961 |
|
962 <passactions> |
|
963 <action> |
|
964 <actionname>Retrieve U5K3 cert</actionname> |
|
965 <actiontype>retrieve</actiontype> |
|
966 <actionbody> |
|
967 <label>U5K3</label> |
|
968 </actionbody> |
|
969 <actionresult> |
|
970 <return>KErrNone</return> |
|
971 </actionresult> |
|
972 </action> |
|
973 </passactions> |
|
974 |
|
975 <failactions> |
|
976 <action> |
|
977 <actionname>Retrieve U5K3 cert</actionname> |
|
978 <actiontype>retrieve</actiontype> |
|
979 <actionbody> |
|
980 <label>U5K3</label> |
|
981 </actionbody> |
|
982 <actionresult> |
|
983 <return>KErrPermissionDenied</return> |
|
984 </actionresult> |
|
985 </action> |
|
986 </failactions> |
|
987 |
|
988 <postactions> |
|
989 <action> |
|
990 <actionname>Deleting the writable certificate store manager</actionname> |
|
991 <actiontype>delete</actiontype> |
|
992 <actionbody></actionbody> |
|
993 <actionresult> |
|
994 <return>KErrNone</return> |
|
995 </actionresult> |
|
996 </action> |
|
997 </postactions> |
|
998 </actionbody> |
|
999 |
|
1000 [SEC-TCERTSTORE-APIPOLICING-3.4-001] |
|
1001 <actionbody> |
|
1002 <testexe>t_certstore.exe</testexe> |
|
1003 <excludedcapabilities> |
|
1004 <capability>TCB</capability> |
|
1005 </excludedcapabilities> |
|
1006 <policy> |
|
1007 <capability>WriteUserData</capability> |
|
1008 </policy> |
|
1009 |
|
1010 <preactions> |
|
1011 <action> |
|
1012 <actionname>Opening a writable certificate store manager</actionname> |
|
1013 <actiontype>init</actiontype> |
|
1014 <actionbody> |
|
1015 <mode>write</mode> |
|
1016 </actionbody> |
|
1017 <actionresult> |
|
1018 <return>KErrNone</return> |
|
1019 </actionresult> |
|
1020 </action> |
|
1021 </preactions> |
|
1022 |
|
1023 <passactions> |
|
1024 <action> |
|
1025 <actionname>Remove the certificate U5K3</actionname> |
|
1026 <actiontype>deletecert</actiontype> |
|
1027 <actionbody> |
|
1028 <certtype>peer</certtype> |
|
1029 <label>U5K3</label> |
|
1030 </actionbody> |
|
1031 <actionresult> |
|
1032 <return>KErrNone</return> |
|
1033 </actionresult> |
|
1034 </action> |
|
1035 |
|
1036 <action> |
|
1037 <actionname>Get the list of certificates</actionname> |
|
1038 <actiontype>listcert</actiontype> |
|
1039 <actionbody> |
|
1040 <filter> |
|
1041 <ownertype>peer</ownertype> |
|
1042 </filter> |
|
1043 </actionbody> |
|
1044 <actionresult> |
|
1045 <return>KErrNone</return> |
|
1046 </actionresult> |
|
1047 </action> |
|
1048 </passactions> |
|
1049 |
|
1050 <failactions> |
|
1051 <action> |
|
1052 <actionname>Remove the certificate U5K3</actionname> |
|
1053 <actiontype>deletecert</actiontype> |
|
1054 <actionbody> |
|
1055 <certtype>peer</certtype> |
|
1056 <label>U5K3</label> |
|
1057 </actionbody> |
|
1058 <actionresult> |
|
1059 <return>KErrPermissionDenied</return> |
|
1060 </actionresult> |
|
1061 </action> |
|
1062 |
|
1063 <action> |
|
1064 <actionname>Get the list of certificates</actionname> |
|
1065 <actiontype>listcert</actiontype> |
|
1066 <actionbody> |
|
1067 <filter> |
|
1068 <ownertype>peer</ownertype> |
|
1069 </filter> |
|
1070 </actionbody> |
|
1071 <actionresult> |
|
1072 <CCTCertInfo><label>U5K3</label></CCTCertInfo> |
|
1073 <return>KErrNone</return> |
|
1074 </actionresult> |
|
1075 </action> |
|
1076 </failactions> |
|
1077 |
|
1078 <postactions> |
|
1079 <action> |
|
1080 <actionname>Deleting the writable certificate store manager</actionname> |
|
1081 <actiontype>delete</actiontype> |
|
1082 <actionbody></actionbody> |
|
1083 <actionresult> |
|
1084 <return>KErrNone</return> |
|
1085 </actionresult> |
|
1086 </action> |
|
1087 </postactions> |
|
1088 </actionbody> |
|
1089 |
|
1090 [SEC-TCERTSTORE-APIPOLICING-4.1-001] |
|
1091 <actionbody> |
|
1092 <label>*.*</label> |
|
1093 <deleteallcerts>1</deleteallcerts> |
|
1094 </actionbody> |
|
1095 |