os/security/cryptoservices/certificateandkeymgmt/tcertstore/scripts/apipolicing.ini
Update contrib.
1 [SEC-TCERTSTORE-APIPOLICING-0.1.2-001]
7 [SEC-TCERTSTORE-APIPOLICING-0.1.3-001]
13 [SEC-TCERTSTORE-APIPOLICING-0.1.4-001]
19 [SEC-TCERTSTORE-APIPOLICING-0.1.5-001]
25 [SEC-TCERTSTORE-APIPOLICING-0.2-001]
30 [SEC-TCERTSTORE-APIPOLICING-0.3.1-001]
32 <storeindex>0</storeindex>
35 <numberofstores>1</numberofstores>
38 [SEC-TCERTSTORE-APIPOLICING-0.3.2-001]
40 <storeindex>0</storeindex>
43 <numberofstores>0</numberofstores>
46 [SEC-TCERTSTORE-APIPOLICING-0.3.3-001]
48 <storeindex>0</storeindex>
51 <numberofstores>1</numberofstores>
54 [SEC-TCERTSTORE-APIPOLICING-0.4-001]
57 <deleteallcerts>1</deleteallcerts>
60 [SEC-TCERTSTORE-APIPOLICING-0.5-001]
62 <ImportData>rsacertkey1.txt</ImportData>
63 <keyusage>AllUsagesButNR</keyusage>
64 <keylabel>*IMPORTED* RSA key 1</keylabel>
65 <keyaccesstype>Extractable</keyaccesstype>
68 [SEC-TCERTSTORE-APIPOLICING-1.1-001]
70 <testexe>t_certstore.exe</testexe>
71 <excludedcapabilities>
72 <capability>TCB</capability>
73 </excludedcapabilities>
75 <capability>WriteDeviceData</capability>
80 <actionname>Opening a writable certificate store manager</actionname>
81 <actiontype>init</actiontype>
86 <return>KErrNone</return>
93 <actionname>Add the certificate CAX1</actionname>
94 <actiontype>addcert</actiontype>
98 <issuerkey></issuerkey>
99 <subjectkey></subjectkey>
100 <certstore>0</certstore>
101 <certfile>c:\unifiedcertstore2\CAX1.cer</certfile>
102 <certowner>ca</certowner>
105 <return>KErrNone</return>
110 <actionname>Get the list of certificates</actionname>
111 <actiontype>listcert</actiontype>
114 <ownertype>ca</ownertype>
118 <return>KErrNone</return>
119 <CCTCertInfo><label>CAX1</label></CCTCertInfo>
126 <actionname>Add the certificate CAX1</actionname>
127 <actiontype>addcert</actiontype>
129 <format>X509</format>
131 <issuerkey></issuerkey>
132 <subjectkey></subjectkey>
133 <certstore>0</certstore>
134 <certfile>c:\unifiedcertstore2\CAX1.cer</certfile>
135 <certowner>ca</certowner>
138 <return>KErrPermissionDenied</return>
143 <actionname>Get the list of certificates</actionname>
144 <actiontype>listcert</actiontype>
147 <ownertype>ca</ownertype>
151 <return>KErrNone</return>
158 <actionname>Deleting the writable certificate store manager</actionname>
159 <actiontype>delete</actiontype>
160 <actionbody></actionbody>
162 <return>KErrNone</return>
168 [SEC-TCERTSTORE-APIPOLICING-1.2-001]
170 <testexe>t_certstore.exe</testexe>
171 <excludedcapabilities>
172 <capability>TCB</capability>
173 </excludedcapabilities>
175 <capability>WriteDeviceData</capability>
180 <actionname>Opening a writable certificate store manager</actionname>
181 <actiontype>init</actiontype>
186 <return>KErrNone</return>
193 <actionname>Set applications to the CAX1 certificate</actionname>
194 <actiontype>setapplications</actiontype>
200 <return>KErrNone</return>
205 <actionname>Set the trust for CAX1</actionname>
206 <actiontype>settrust</actiontype>
212 <return>KErrNone</return>
217 <actionname>Get applications for CAX1</actionname>
218 <actiontype>getapplications</actiontype>
223 <return>KErrNone</return>
229 <actionname>Get the trust for CAX1</actionname>
230 <actiontype>gettrusters</actiontype>
235 <return>KErrNone</return>
243 <actionname>Set applications to the CAX1 certificate</actionname>
244 <actiontype>setapplications</actiontype>
250 <return>KErrPermissionDenied</return>
255 <actionname>Set the trust for CAX1</actionname>
256 <actiontype>settrust</actiontype>
262 <return>KErrPermissionDenied</return>
267 <actionname>Get applications for CAX1</actionname>
268 <actiontype>getapplications</actiontype>
273 <return>KErrNone</return>
279 <actionname>Get the trust for CAX1</actionname>
280 <actiontype>gettrusters</actiontype>
285 <return>KErrNone</return>
293 <actionname>Deleting the writable certificate store manager</actionname>
294 <actiontype>delete</actiontype>
295 <actionbody></actionbody>
297 <return>KErrNone</return>
303 [SEC-TCERTSTORE-APIPOLICING-1.3-001]
305 <testexe>t_certstore.exe</testexe>
306 <excludedcapabilities>
307 <capability>TCB</capability>
308 </excludedcapabilities>
314 <actionname>Opening a writable certificate store manager</actionname>
315 <actiontype>init</actiontype>
320 <return>KErrNone</return>
327 <actionname>Get applications for CAX1</actionname>
328 <actiontype>getapplications</actiontype>
333 <return>KErrNone</return>
339 <actionname>Get the trust for CAX1</actionname>
340 <actiontype>gettrusters</actiontype>
345 <return>KErrNone</return>
351 <actionname>Get the list of certificates</actionname>
352 <actiontype>listcert</actiontype>
355 <ownertype>ca</ownertype>
359 <return>KErrNone</return>
360 <CCTCertInfo><label>CAX1</label></CCTCertInfo>
365 <actionname>Retrieve CAX1 cert</actionname>
366 <actiontype>retrieve</actiontype>
371 <return>KErrNone</return>
381 <actionname>Deleting the writable certificate store manager</actionname>
382 <actiontype>delete</actiontype>
383 <actionbody></actionbody>
385 <return>KErrNone</return>
391 [SEC-TCERTSTORE-APIPOLICING-1.4-001]
393 <testexe>t_certstore.exe</testexe>
394 <excludedcapabilities>
395 <capability>TCB</capability>
396 </excludedcapabilities>
398 <capability>WriteDeviceData</capability>
403 <actionname>Opening a writable certificate store manager</actionname>
404 <actiontype>init</actiontype>
409 <return>KErrNone</return>
416 <actionname>Remove the certificate CAX1</actionname>
417 <actiontype>deletecert</actiontype>
419 <certtype>ca</certtype>
423 <return>KErrNone</return>
428 <actionname>Get the list of certificates</actionname>
429 <actiontype>listcert</actiontype>
432 <ownertype>ca</ownertype>
436 <return>KErrNone</return>
443 <actionname>Remove the certificate CAX1</actionname>
444 <actiontype>deletecert</actiontype>
446 <certtype>ca</certtype>
450 <return>KErrPermissionDenied</return>
455 <actionname>Get the list of certificates</actionname>
456 <actiontype>listcert</actiontype>
459 <ownertype>ca</ownertype>
463 <CCTCertInfo><label>CAX1</label></CCTCertInfo>
464 <return>KErrNone</return>
471 <actionname>Deleting the writable certificate store manager</actionname>
472 <actiontype>delete</actiontype>
473 <actionbody></actionbody>
475 <return>KErrNone</return>
481 [SEC-TCERTSTORE-APIPOLICING-2.1-001]
483 <testexe>t_certstore.exe</testexe>
484 <excludedcapabilities>
485 <capability>TCB</capability>
486 </excludedcapabilities>
488 <capability>ReadUserData</capability>
489 <capability>WriteUserData</capability>
494 <actionname>Opening a writable certificate store manager</actionname>
495 <actiontype>init</actiontype>
500 <return>KErrNone</return>
507 <actionname>Add the certificate rsacert1</actionname>
508 <actiontype>addcert</actiontype>
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>
519 <return>KErrPermissionDenied</return>
524 <actionname>Get the list of certificates</actionname>
525 <actiontype>listcert</actiontype>
528 <ownertype>user</ownertype>
532 <return>KErrNone</return>
539 <actionname>Add the certificate rsacert1</actionname>
540 <actiontype>addcert</actiontype>
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>
551 <return>KErrNone</return>
556 <actionname>Get the list of certificates</actionname>
557 <actiontype>listcert</actiontype>
560 <ownertype>user</ownertype>
564 <CCTCertInfo><label>rsacert1</label></CCTCertInfo>
565 <return>KErrNone</return>
572 <actionname>Deleting the writable certificate store manager</actionname>
573 <actiontype>delete</actiontype>
574 <actionbody></actionbody>
576 <return>KErrNone</return>
582 [SEC-TCERTSTORE-APIPOLICING-2.2-001]
584 <testexe>t_certstore.exe</testexe>
585 <excludedcapabilities>
586 <capability>TCB</capability>
587 </excludedcapabilities>
593 <actionname>Opening a writable certificate store manager</actionname>
594 <actiontype>init</actiontype>
599 <return>KErrNone</return>
606 <actionname>Get the list of certificates</actionname>
607 <actiontype>listcert</actiontype>
610 <ownertype>user</ownertype>
614 <return>KErrNone</return>
615 <CCTCertInfo><label>rsacert1</label></CCTCertInfo>
625 <actionname>Deleting the writable certificate store manager</actionname>
626 <actiontype>delete</actiontype>
627 <actionbody></actionbody>
629 <return>KErrNone</return>
635 [SEC-TCERTSTORE-APIPOLICING-2.3-001]
637 <testexe>t_certstore.exe</testexe>
638 <excludedcapabilities>
639 <capability>TCB</capability>
640 </excludedcapabilities>
642 <capability>ReadUserData</capability>
647 <actionname>Opening a writable certificate store manager</actionname>
648 <actiontype>init</actiontype>
653 <return>KErrNone</return>
660 <actionname>Retrieve rsacert1 cert</actionname>
661 <actiontype>retrieve</actiontype>
663 <label>rsacert1</label>
666 <return>KErrNone</return>
673 <actionname>Retrieve rsacert1 cert</actionname>
674 <actiontype>retrieve</actiontype>
676 <label>rsacert1</label>
679 <return>KErrPermissionDenied</return>
686 <actionname>Deleting the writable certificate store manager</actionname>
687 <actiontype>delete</actiontype>
688 <actionbody></actionbody>
690 <return>KErrNone</return>
696 [SEC-TCERTSTORE-APIPOLICING-2.4-001]
698 <testexe>t_certstore.exe</testexe>
699 <excludedcapabilities>
700 <capability>TCB</capability>
701 </excludedcapabilities>
703 <capability>WriteUserData</capability>
708 <actionname>Opening a writable certificate store manager</actionname>
709 <actiontype>init</actiontype>
714 <return>KErrNone</return>
721 <actionname>Remove the certificate rsacert1</actionname>
722 <actiontype>deletecert</actiontype>
724 <certtype>user</certtype>
725 <label>rsacert1</label>
728 <return>KErrNone</return>
733 <actionname>Get the list of certificates</actionname>
734 <actiontype>listcert</actiontype>
737 <ownertype>user</ownertype>
741 <return>KErrNone</return>
748 <actionname>Remove the certificate rsacert1</actionname>
749 <actiontype>deletecert</actiontype>
751 <certtype>user</certtype>
752 <label>rsacert1</label>
755 <return>KErrPermissionDenied</return>
760 <actionname>Get the list of certificates</actionname>
761 <actiontype>listcert</actiontype>
764 <ownertype>user</ownertype>
768 <CCTCertInfo><label>rsacert1</label></CCTCertInfo>
769 <return>KErrNone</return>
776 <actionname>Deleting the writable certificate store manager</actionname>
777 <actiontype>delete</actiontype>
778 <actionbody></actionbody>
780 <return>KErrNone</return>
786 [SEC-TCERTSTORE-APIPOLICING-3.1-001]
788 <testexe>t_certstore.exe</testexe>
789 <excludedcapabilities>
790 <capability>TCB</capability>
791 </excludedcapabilities>
793 <capability>WriteUserData</capability>
798 <actionname>Opening a writable certificate store manager</actionname>
799 <actiontype>init</actiontype>
804 <return>KErrNone</return>
811 <actionname>Add the certificate U5K3</actionname>
812 <actiontype>addcert</actiontype>
814 <format>X509</format>
816 <issuerkey></issuerkey>
817 <subjectkey>eeda2c6da84f17519ee837eadb8a5289dadfbb26</subjectkey>
818 <certstore>0</certstore>
819 <certfile>c:\unifiedcertstore2\U5K3.crt</certfile>
820 <certowner>peer</certowner>
823 <return>KErrPermissionDenied</return>
828 <actionname>Get the list of certificates</actionname>
829 <actiontype>listpeercert</actiontype>
832 <ownertype>peer</ownertype>
836 <return>KErrNone</return>
843 <actionname>Add the certificate U5K3</actionname>
844 <actiontype>addcert</actiontype>
846 <format>X509</format>
848 <issuerkey></issuerkey>
849 <subjectkey>eeda2c6da84f17519ee837eadb8a5289dadfbb26</subjectkey>
850 <certstore>0</certstore>
851 <certfile>c:\unifiedcertstore2\U5K3.crt</certfile>
852 <certowner>peer</certowner>
855 <return>KErrNone</return>
860 <actionname>Get the list of certificates</actionname>
861 <actiontype>listcert</actiontype>
864 <ownertype>peer</ownertype>
868 <return>KErrNone</return>
869 <CCTCertInfo><label>U5K3</label></CCTCertInfo>
876 <actionname>Deleting the writable certificate store manager</actionname>
877 <actiontype>delete</actiontype>
878 <actionbody></actionbody>
880 <return>KErrNone</return>
886 [SEC-TCERTSTORE-APIPOLICING-3.2-001]
888 <testexe>t_certstore.exe</testexe>
889 <excludedcapabilities>
890 <capability>TCB</capability>
891 </excludedcapabilities>
897 <actionname>Opening a writable certificate store manager</actionname>
898 <actiontype>init</actiontype>
903 <return>KErrNone</return>
910 <actionname>Get the list of certificates</actionname>
911 <actiontype>listcert</actiontype>
914 <ownertype>peer</ownertype>
918 <return>KErrNone</return>
919 <CCTCertInfo><label>U5K3</label></CCTCertInfo>
929 <actionname>Deleting the writable certificate store manager</actionname>
930 <actiontype>delete</actiontype>
931 <actionbody></actionbody>
933 <return>KErrNone</return>
939 [SEC-TCERTSTORE-APIPOLICING-3.3-001]
941 <testexe>t_certstore.exe</testexe>
942 <excludedcapabilities>
943 <capability>TCB</capability>
944 </excludedcapabilities>
946 <capability>ReadUserData</capability>
951 <actionname>Opening a writable certificate store manager</actionname>
952 <actiontype>init</actiontype>
957 <return>KErrNone</return>
964 <actionname>Retrieve U5K3 cert</actionname>
965 <actiontype>retrieve</actiontype>
970 <return>KErrNone</return>
977 <actionname>Retrieve U5K3 cert</actionname>
978 <actiontype>retrieve</actiontype>
983 <return>KErrPermissionDenied</return>
990 <actionname>Deleting the writable certificate store manager</actionname>
991 <actiontype>delete</actiontype>
992 <actionbody></actionbody>
994 <return>KErrNone</return>
1000 [SEC-TCERTSTORE-APIPOLICING-3.4-001]
1002 <testexe>t_certstore.exe</testexe>
1003 <excludedcapabilities>
1004 <capability>TCB</capability>
1005 </excludedcapabilities>
1007 <capability>WriteUserData</capability>
1012 <actionname>Opening a writable certificate store manager</actionname>
1013 <actiontype>init</actiontype>
1018 <return>KErrNone</return>
1025 <actionname>Remove the certificate U5K3</actionname>
1026 <actiontype>deletecert</actiontype>
1028 <certtype>peer</certtype>
1032 <return>KErrNone</return>
1037 <actionname>Get the list of certificates</actionname>
1038 <actiontype>listcert</actiontype>
1041 <ownertype>peer</ownertype>
1045 <return>KErrNone</return>
1052 <actionname>Remove the certificate U5K3</actionname>
1053 <actiontype>deletecert</actiontype>
1055 <certtype>peer</certtype>
1059 <return>KErrPermissionDenied</return>
1064 <actionname>Get the list of certificates</actionname>
1065 <actiontype>listcert</actiontype>
1068 <ownertype>peer</ownertype>
1072 <CCTCertInfo><label>U5K3</label></CCTCertInfo>
1073 <return>KErrNone</return>
1080 <actionname>Deleting the writable certificate store manager</actionname>
1081 <actiontype>delete</actiontype>
1082 <actionbody></actionbody>
1084 <return>KErrNone</return>
1090 [SEC-TCERTSTORE-APIPOLICING-4.1-001]
1093 <deleteallcerts>1</deleteallcerts>