os/security/cryptoservices/certificateandkeymgmt/tcertstore/scripts/certstoreconcurrent1.txt
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/security/cryptoservices/certificateandkeymgmt/tcertstore/scripts/certstoreconcurrent1.txt Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,221 @@
1.4 +<action>
1.5 + <actionname>Switch on concurrency testing</actionname>
1.6 + <actiontype>testconcurrent</actiontype>
1.7 + <actionbody>
1.8 + <KConcurrentTesting>ETrue</KConcurrentTesting>
1.9 + </actionbody>
1.10 + <actionresult>
1.11 + <result>ETrue</result>
1.12 + </actionresult>
1.13 +</action>
1.14 +<action>
1.15 + <actionname>Opening a certificate store manager</actionname>
1.16 + <actiontype>init</actiontype>
1.17 + <actionbody>
1.18 + <mode>write</mode>
1.19 + </actionbody>
1.20 + <actionresult>
1.21 + <return>KErrNone</return>
1.22 + </actionresult>
1.23 +</action>
1.24 +<action>
1.25 + <actionname>Retrieving number of writable certificate store manager</actionname>
1.26 + <actiontype>CUnifiedCertStore WritableCertStoreCount</actiontype>
1.27 + <actionbody>
1.28 + <storeindex>0</storeindex>
1.29 + </actionbody>
1.30 + <actionresult>
1.31 + <return>KErrNone</return>
1.32 + <numberofstores>1</numberofstores>
1.33 + </actionresult>
1.34 +</action>
1.35 +<action>
1.36 + <actionname>Opening a certificate store manager</actionname>
1.37 + <actiontype>init</actiontype>
1.38 + <actionbody>
1.39 + <mode>write</mode>
1.40 + </actionbody>
1.41 + <actionresult>
1.42 + <return>KErrNone</return>
1.43 + </actionresult>
1.44 +</action>
1.45 +<action>
1.46 + <actionname>Retrieving number of writable certificate store manager</actionname>
1.47 + <actiontype>CUnifiedCertStore WritableCertStoreCount</actiontype>
1.48 + <actionbody>
1.49 + <storeindex>0</storeindex>
1.50 + </actionbody>
1.51 + <actionresult>
1.52 + <return>KErrNone</return>
1.53 + <numberofstores>1</numberofstores>
1.54 + </actionresult>
1.55 +</action>
1.56 +<action>
1.57 + <actionname>Retrieving number of writable certificate store manager</actionname>
1.58 + <actiontype>CUnifiedCertStore WritableCertStoreCount</actiontype>
1.59 + <actionbody>
1.60 + <storeindex>1</storeindex>
1.61 + </actionbody>
1.62 + <actionresult>
1.63 + <return>KErrNone</return>
1.64 + <numberofstores>1</numberofstores>
1.65 + </actionresult>
1.66 +</action>
1.67 +<action>
1.68 + <actionname>No Test, Deleting the writable certificate store manager</actionname>
1.69 + <actiontype>delete</actiontype>
1.70 + <actionbody></actionbody>
1.71 + <actionresult>
1.72 + <return>KErrNone</return>
1.73 + </actionresult>
1.74 +</action>
1.75 +<action>
1.76 + <actionname>No Test, Deleting the writable certificate store manager</actionname>
1.77 + <actiontype>delete</actiontype>
1.78 + <actionbody></actionbody>
1.79 + <actionresult>
1.80 + <return>KErrNone</return>
1.81 + </actionresult>
1.82 +</action>
1.83 +<action>
1.84 + <actionname>Opening a certificate store manager</actionname>
1.85 + <actiontype>init</actiontype>
1.86 + <actionbody>
1.87 + <mode>write</mode>
1.88 + </actionbody>
1.89 + <actionresult>
1.90 + <return>KErrNone</return>
1.91 + </actionresult>
1.92 +</action>
1.93 +<action>
1.94 + <actionname>No Test, Deleting the writable certificate store manager</actionname>
1.95 + <actiontype>delete</actiontype>
1.96 + <actionbody></actionbody>
1.97 + <actionresult>
1.98 + <return>KErrNone</return>
1.99 + </actionresult>
1.100 +</action>
1.101 +<action>
1.102 + <actionname>Opening a certificate store manager</actionname>
1.103 + <actiontype>init</actiontype>
1.104 + <actionbody>
1.105 + <mode>write</mode>
1.106 + </actionbody>
1.107 + <actionresult>
1.108 + <return>KErrNone</return>
1.109 + </actionresult>
1.110 +</action>
1.111 +<action>
1.112 + <actionname>No Test,Add the certificate URL1K1</actionname>
1.113 + <actiontype>addcert</actiontype>
1.114 + <actionbody>
1.115 + <format>X509URL</format>
1.116 + <label>URL1K1</label>
1.117 + <issuerkey></issuerkey>
1.118 + <subjectkey>4b1cd219663fd693cc5195359ca8e88399fbb871</subjectkey>
1.119 + <certstore>0</certstore>
1.120 + <certfile>c:\unifiedcertstore2\URL1K1.cer</certfile>
1.121 + <certowner>User</certowner>
1.122 + </actionbody>
1.123 + <actionresult>
1.124 + <return>KErrNone</return>
1.125 + </actionresult>
1.126 +</action>
1.127 +<action>
1.128 + <actionname>No Test,Add the certificate URL2K2</actionname>
1.129 + <actiontype>addcert</actiontype>
1.130 + <actionbody>
1.131 + <format>X509URL</format>
1.132 + <label>URL2K2</label>
1.133 + <issuerkey></issuerkey>
1.134 + <subjectkey>f6a38567f8797e7c3fea00edf5a158d27a1a8b55</subjectkey>
1.135 + <certstore>0</certstore>
1.136 + <certfile>c:\unifiedcertstore2\URL2K2.cer</certfile>
1.137 + <certowner>User</certowner>
1.138 + </actionbody>
1.139 + <actionresult>
1.140 + <return>KErrNone</return>
1.141 + </actionresult>
1.142 +</action>
1.143 +<!action>
1.144 + <!actionname>Get the list of user certificates any Key ID any usage</actionname>
1.145 + <!actiontype>listusercert</actiontype>
1.146 + <!actionbody>
1.147 + <!keyusage></keyusage>
1.148 + <!subjectkey></subjectkey>
1.149 + <!formatflags></formatflags>
1.150 + <!/actionbody>
1.151 + <!actionresult>
1.152 + <!return>KErrNone</return>
1.153 + <!CCTCertInfo><label>URL1K1</label></CCTCertInfo>
1.154 + <!CCTCertInfo><label>URL2K2</label></CCTCertInfo>
1.155 + <!/actionresult>
1.156 +<!/action>
1.157 +<!action>
1.158 + <!actionname>Get the list of user certificates Key ID 1 any usage</actionname>
1.159 + <!actiontype>listusercert</actiontype>
1.160 + <!actionbody>
1.161 + <!keyusage></keyusage>
1.162 + <!subjectkey>4b1cd219663fd693cc5195359ca8e88399fbb871</subjectkey>
1.163 + <!formatflags></formatflags>
1.164 + <!/actionbody>
1.165 + <!actionresult>
1.166 + <!return>KErrNone</return>
1.167 + <!CCTCertInfo><label>URL1K1</label></CCTCertInfo>
1.168 + <!/actionresult>
1.169 +<!/action>
1.170 +<!action>
1.171 + <!actionname>4.1.4.3,Get the list of user certificates Key ID 2 any usage</actionname>
1.172 + <!actiontype>listusercert</actiontype>
1.173 + <!actionbody>
1.174 + <!keyusage></keyusage>
1.175 + <!subjectkey>f6a38567f8797e7c3fea00edf5a158d27a1a8b55</subjectkey>
1.176 + <!formatflags></formatflags>
1.177 + <!/actionbody>
1.178 + <!actionresult>
1.179 + <!return>KErrNone</return>
1.180 + <!CCTCertInfo><label>URL2K2</label></CCTCertInfo>
1.181 + <!/actionresult>
1.182 +<!/action>
1.183 +<action>
1.184 + <actionname>No Test,Deleting the certificate URL1K1</actionname>
1.185 + <actiontype>deletecert</actiontype>
1.186 + <actionbody>
1.187 + <certtype>User</certtype>
1.188 + <label>URL1K1</label>
1.189 + </actionbody>
1.190 + <actionresult>
1.191 + <return>KErrNone</return>
1.192 + </actionresult>
1.193 +</action>
1.194 +<action>
1.195 + <actionname>No Test,Deleting the certificate URL2K2</actionname>
1.196 + <actiontype>deletecert</actiontype>
1.197 + <actionbody>
1.198 + <certtype>User</certtype>
1.199 + <label>URL2K2</label>
1.200 + </actionbody>
1.201 + <actionresult>
1.202 + <return>KErrNone</return>
1.203 + </actionresult>
1.204 +</action>
1.205 +<!action>
1.206 + <!actionname>Get the list of user certificates any Key ID any usage</actionname>
1.207 + <!actiontype>listusercert</actiontype>
1.208 + <!actionbody>
1.209 + <!keyusage></keyusage>
1.210 + <!subjectkey></subjectkey>
1.211 + <!formatflags></formatflags>
1.212 + <!/actionbody>
1.213 + <!actionresult>
1.214 + <!return>KErrNone</return>
1.215 + <!/actionresult>
1.216 +<!/action>
1.217 +<action>
1.218 + <actionname>No Test, Deleting the writable certificate store manager</actionname>
1.219 + <actiontype>delete</actiontype>
1.220 + <actionbody></actionbody>
1.221 + <actionresult>
1.222 + <return>KErrNone</return>
1.223 + </actionresult>
1.224 +</action>