os/security/cryptoservices/certificateandkeymgmt/tcertstore/scripts/certstoreconcurrent2.txt
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/security/cryptoservices/certificateandkeymgmt/tcertstore/scripts/certstoreconcurrent2.txt	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,415 @@
     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>Get the list of certificates</actionname>
    1.26 +	<actiontype>listcacert</actiontype>
    1.27 +	<actionbody>
    1.28 +		<uid></uid>
    1.29 +		<formatflags></formatflags>
    1.30 +	</actionbody>
    1.31 +	<actionresult>
    1.32 +		<return>KErrNone</return>
    1.33 +	</actionresult>
    1.34 +</action>
    1.35 +<action>
    1.36 +	<actionname>Get the list of certificates</actionname>
    1.37 +	<actiontype>listcacert</actiontype>
    1.38 +	<actionbody>
    1.39 +		<uid></uid>
    1.40 +		<formatflags></formatflags>
    1.41 +	</actionbody>
    1.42 +	<actionresult>
    1.43 +	</actionresult>
    1.44 +</action>
    1.45 +<action>
    1.46 +	<actionname>Get the list of certificates</actionname>
    1.47 +	<actiontype>listcacert</actiontype>
    1.48 +	<actionbody>
    1.49 +		<uid></uid>
    1.50 +		<formatflags></formatflags>
    1.51 +	</actionbody>
    1.52 +	<actionresult>
    1.53 +		<return>KErrNone</return>
    1.54 +	</actionresult>
    1.55 +</action>
    1.56 +<action>
    1.57 +	<actionname>No Test, Deleting the writable certificate store manager</actionname>
    1.58 +	<actiontype>delete</actiontype>
    1.59 +	<actionbody></actionbody>
    1.60 +	<actionresult>
    1.61 +		<return>KErrNone</return>
    1.62 +	</actionresult>
    1.63 +</action>
    1.64 +<action>
    1.65 +	<actionname>No Test, Opening a CertificateAppInfoManager</actionname>
    1.66 +	<actiontype>initappmanager</actiontype>
    1.67 +	<actionbody></actionbody>
    1.68 +	<actionresult>
    1.69 +		<return>KErrNone</return>
    1.70 +	</actionresult>
    1.71 +</action>
    1.72 +
    1.73 +<action>
    1.74 +	<actionname>No Test, Adding client A1</actionname>
    1.75 +	<actiontype>addclient</actiontype>
    1.76 +	<actionbody>
    1.77 +		<name>A1</name>
    1.78 +		<uid>1</uid>
    1.79 +	</actionbody>
    1.80 +	<actionresult>
    1.81 +		<return>KErrNone</return>
    1.82 +	</actionresult>
    1.83 +</action>
    1.84 +
    1.85 +<action>
    1.86 +	<actionname>No Test, Adding client A2</actionname>
    1.87 +	<actiontype>addclient</actiontype>
    1.88 +	<actionbody>
    1.89 +		<name>A2</name>
    1.90 +		<uid>2</uid>
    1.91 +	</actionbody>
    1.92 +	<actionresult>
    1.93 +		<return>KErrNone</return>
    1.94 +	</actionresult>
    1.95 +</action>
    1.96 +
    1.97 +<action>
    1.98 +	<actionname>No Test, Adding client A3</actionname>
    1.99 +	<actiontype>addclient</actiontype>
   1.100 +	<actionbody>
   1.101 +		<name>A3</name>
   1.102 +		<uid>3</uid>
   1.103 +	</actionbody>
   1.104 +	<actionresult>
   1.105 +		<return>KErrNone</return>
   1.106 +	</actionresult>
   1.107 +</action>
   1.108 +
   1.109 +<action>
   1.110 +	<actionname>No Test, Adding client A4</actionname>
   1.111 +	<actiontype>addclient</actiontype>
   1.112 +	<actionbody>
   1.113 +		<name>A4</name>
   1.114 +		<uid>4</uid>
   1.115 +	</actionbody>
   1.116 +	<actionresult>
   1.117 +		<return>KErrNone</return>
   1.118 +	</actionresult>
   1.119 +</action>
   1.120 +<action>
   1.121 +	<actionname>No Test, Deleting the CertificateAppInfoManager</actionname>
   1.122 +	<actiontype>deleteappmanager</actiontype>
   1.123 +	<actionbody></actionbody>
   1.124 +	<actionresult>
   1.125 +		<return>KErrNone</return>
   1.126 +	</actionresult>
   1.127 +</action>
   1.128 +<action>
   1.129 +	<actionname>Opening a certificate store manager</actionname>
   1.130 +	<actiontype>init</actiontype>
   1.131 +	<actionbody>
   1.132 +		<mode>write</mode>
   1.133 +	</actionbody>
   1.134 +	<actionresult>
   1.135 +		<return>KErrNone</return>
   1.136 +	</actionresult>
   1.137 +</action>
   1.138 +<action>
   1.139 +	<actionname>Add the certificate CAW1</actionname>
   1.140 +	<actiontype>addcert</actiontype>
   1.141 +	<actionbody>
   1.142 +		<format>WTLS</format>
   1.143 +		<label>CAW1</label>
   1.144 +		<issuerkey></issuerkey>
   1.145 +		<subjectkey></subjectkey>
   1.146 +		<certstore>0</certstore>
   1.147 +		<certfile>c:\unifiedcertstore2\CAW1.cer</certfile>
   1.148 +		<certowner>CA</certowner>
   1.149 +	</actionbody>
   1.150 +	<actionresult>
   1.151 +		<return>KErrNone</return>
   1.152 +	</actionresult>
   1.153 +</action>
   1.154 +<action>
   1.155 +	<actionname>Add the certificate CAW2</actionname>
   1.156 +	<actiontype>addcert</actiontype>
   1.157 +	<actionbody>
   1.158 +		<format>WTLS</format>
   1.159 +		<label>CAW2</label>
   1.160 +		<issuerkey></issuerkey>
   1.161 +		<subjectkey></subjectkey>
   1.162 +		<certstore>0</certstore>
   1.163 +		<certfile>c:\unifiedcertstore2\CAW2.cer</certfile>
   1.164 +		<certowner>CA</certowner>
   1.165 +	</actionbody>
   1.166 +	<actionresult>
   1.167 +		<return>KErrNone</return>
   1.168 +	</actionresult>
   1.169 +</action>
   1.170 +<action>
   1.171 +	<actionname>Add the certificate CAW3</actionname>
   1.172 +	<actiontype>addcert</actiontype>
   1.173 +	<actionbody>
   1.174 +		<format>WTLS</format>
   1.175 +		<label>CAW3</label>
   1.176 +		<issuerkey></issuerkey>
   1.177 +		<subjectkey></subjectkey>
   1.178 +		<certstore>0</certstore>
   1.179 +		<certfile>c:\unifiedcertstore2\CAW3.cer</certfile>
   1.180 +		<certowner>CA</certowner>
   1.181 +	</actionbody>
   1.182 +	<actionresult>
   1.183 +		<return>KErrNone</return>
   1.184 +	</actionresult>
   1.185 +</action>
   1.186 +
   1.187 +<action>
   1.188 +	<actionname>Set trusters to the CAW2 certificate</actionname>
   1.189 +	<actiontype>setapplications</actiontype>
   1.190 +	<actionbody>
   1.191 +		<label>CAW2</label>
   1.192 +		<uid>1 2 3</uid>
   1.193 +	</actionbody>
   1.194 +	<actionresult>
   1.195 +		<return>KErrNone</return>
   1.196 +	</actionresult>
   1.197 +</action>
   1.198 +
   1.199 +<action>
   1.200 +	<actionname>Set the trust for CAW2</actionname>
   1.201 +	<actiontype>settrust</actiontype>
   1.202 +	<actionbody>
   1.203 +		<label>CAW2</label>
   1.204 +		<trust>1</trust>
   1.205 +	</actionbody>
   1.206 +	<actionresult>
   1.207 +		<return>KErrNone</return>
   1.208 +	</actionresult>
   1.209 +</action>
   1.210 +
   1.211 +<action>
   1.212 +	<actionname>Set trusters to the CAW3 certificate</actionname>
   1.213 +	<actiontype>setapplications</actiontype>
   1.214 +	<actionbody>
   1.215 +		<label>CAW3</label>
   1.216 +		<uid>1 2</uid>
   1.217 +	</actionbody>
   1.218 +	<actionresult>
   1.219 +		<return>KErrNone</return>
   1.220 +	</actionresult>
   1.221 +</action>
   1.222 +
   1.223 +<action>
   1.224 +	<actionname>Set the trust for CAW3</actionname>
   1.225 +	<actiontype>settrust</actiontype>
   1.226 +	<actionbody>
   1.227 +		<label>CAW3</label>
   1.228 +		<trust>1</trust>
   1.229 +	</actionbody>
   1.230 +	<actionresult>
   1.231 +		<return>KErrNone</return>
   1.232 +	</actionresult>
   1.233 +</action>
   1.234 +
   1.235 +<action>
   1.236 +	<actionname>Get applications for CAW1</actionname>
   1.237 +	<actiontype>getapplications</actiontype>
   1.238 +	<actionbody>
   1.239 +		<label>CAW1</label>
   1.240 +	</actionbody>
   1.241 +	<actionresult>
   1.242 +		<return>KErrNone</return>
   1.243 +		<uid></uid>
   1.244 +	</actionresult>
   1.245 +</action>
   1.246 +
   1.247 +<action>
   1.248 +	<actionname>Get the trust for CAW1</actionname>
   1.249 +	<actiontype>gettrusters</actiontype>
   1.250 +	<actionbody>
   1.251 +		<label>CAW1</label>
   1.252 +	</actionbody>
   1.253 +	<actionresult>
   1.254 +		<return>KErrNone</return>
   1.255 +		<trust>0</trust>
   1.256 +	</actionresult>
   1.257 +</action>
   1.258 +<action>
   1.259 +	<actionname>Get applications for CAW2</actionname>
   1.260 +	<actiontype>getapplications</actiontype>
   1.261 +	<actionbody>
   1.262 +		<label>CAW2</label>
   1.263 +	</actionbody>
   1.264 +	<actionresult>
   1.265 +		<return>KErrNone</return>
   1.266 +		<uid>1 2 3</uid>
   1.267 +	</actionresult>
   1.268 +</action>
   1.269 +<action>
   1.270 +	<actionname>Get the trust for CAW2</actionname>
   1.271 +	<actiontype>gettrusters</actiontype>
   1.272 +	<actionbody>
   1.273 +		<label>CAW2</label>
   1.274 +	</actionbody>
   1.275 +	<actionresult>
   1.276 +		<return>KErrNone</return>
   1.277 +		<trust>1</trust>
   1.278 +	</actionresult>
   1.279 +</action>
   1.280 +
   1.281 +<action>
   1.282 +	<actionname>Get applications for CAW3</actionname>
   1.283 +	<actiontype>getapplications</actiontype>
   1.284 +	<actionbody>
   1.285 +		<label>CAW3</label>
   1.286 +	</actionbody>
   1.287 +	<actionresult>
   1.288 +		<return>KErrNone</return>
   1.289 +		<uid>1 2</uid>
   1.290 +	</actionresult>
   1.291 +</action>
   1.292 +
   1.293 +<action>
   1.294 +	<actionname>Get the trust for CAW3</actionname>
   1.295 +	<actiontype>gettrusters</actiontype>
   1.296 +	<actionbody>
   1.297 +		<label>CAW3</label>
   1.298 +	</actionbody>
   1.299 +	<actionresult>
   1.300 +		<return>KErrNone</return>
   1.301 +		<trust>1</trust>
   1.302 +	</actionresult>
   1.303 +</action>
   1.304 +<action>
   1.305 +	<actionname>Get the list of certificates</actionname>
   1.306 +	<actiontype>listcacert</actiontype>
   1.307 +	<actionbody>
   1.308 +		<uid></uid>
   1.309 +		<formatflags></formatflags>
   1.310 +	</actionbody>
   1.311 +	<actionresult>
   1.312 +		<return>KErrNone</return>
   1.313 +		<CCTCertInfo><label>CAW1</label></CCTCertInfo>
   1.314 +		<CCTCertInfo><label>CAW2</label></CCTCertInfo>
   1.315 +		<CCTCertInfo><label>CAW3</label></CCTCertInfo>
   1.316 +	</actionresult>
   1.317 +</action>
   1.318 +<action>
   1.319 +	<actionname>No Test, Deleting the certificate CAW1</actionname>
   1.320 +	<actiontype>deletecert</actiontype>
   1.321 +	<actionbody>
   1.322 +		<certtype>CA</certtype>
   1.323 +		<label>CAW1</label>
   1.324 +	</actionbody>
   1.325 +	<actionresult>
   1.326 +		<return>KErrNone</return>
   1.327 +	</actionresult>
   1.328 +</action>
   1.329 +<action>
   1.330 +	<actionname>No Test, Deleting the certificate CAW2</actionname>
   1.331 +	<actiontype>deletecert</actiontype>
   1.332 +	<actionbody>
   1.333 +		<certtype>CA</certtype>
   1.334 +		<label>CAW2</label>
   1.335 +	</actionbody>
   1.336 +	<actionresult>
   1.337 +		<return>KErrNone</return>
   1.338 +	</actionresult>
   1.339 +</action>
   1.340 +<action>
   1.341 +	<actionname>No Test, Deleting the certificate CAW3</actionname>
   1.342 +	<actiontype>deletecert</actiontype>
   1.343 +	<actionbody>
   1.344 +		<certtype>CA</certtype>
   1.345 +		<label>CAW3</label>
   1.346 +	</actionbody>
   1.347 +	<actionresult>
   1.348 +		<return>KErrNone</return>
   1.349 +	</actionresult>
   1.350 +</action>
   1.351 +<action>
   1.352 +	<actionname>No Test, Deleting the writable certificate store manager</actionname>
   1.353 +	<actiontype>delete</actiontype>
   1.354 +	<actionbody></actionbody>
   1.355 +	<actionresult>
   1.356 +		<return>KErrNone</return>
   1.357 +	</actionresult>
   1.358 +</action>
   1.359 +<action>
   1.360 +	<actionname>No Test, Opening a CertificateAppInfoManager</actionname>
   1.361 +	<actiontype>initappmanager</actiontype>
   1.362 +	<actionbody></actionbody>
   1.363 +	<actionresult>
   1.364 +		<return>KErrNone</return>
   1.365 +	</actionresult>
   1.366 +</action>
   1.367 +
   1.368 +<action>
   1.369 +	<actionname>No Test, Deleting the client A1</actionname>
   1.370 +	<actiontype>removeclient</actiontype>
   1.371 +	<actionbody>
   1.372 +		<uid>1</uid>
   1.373 +	</actionbody>
   1.374 +	<actionresult>
   1.375 +		<return>KErrNone</return>
   1.376 +	</actionresult>
   1.377 +</action>
   1.378 +
   1.379 +<action>
   1.380 +	<actionname>No Test, Deleting the client A2</actionname>
   1.381 +	<actiontype>removeclient</actiontype>
   1.382 +	<actionbody>
   1.383 +		<uid>2</uid>
   1.384 +	</actionbody>
   1.385 +	<actionresult>
   1.386 +		<return>KErrNone</return>
   1.387 +	</actionresult>
   1.388 +</action>
   1.389 +
   1.390 +<action>
   1.391 +	<actionname>No Test, Deleting the client A3</actionname>
   1.392 +	<actiontype>removeclient</actiontype>
   1.393 +	<actionbody>
   1.394 +		<uid>3</uid>
   1.395 +	</actionbody>
   1.396 +	<actionresult>
   1.397 +		<return>KErrNone</return>
   1.398 +	</actionresult>
   1.399 +</action>
   1.400 +
   1.401 +<action>
   1.402 +	<actionname>No Test, Deleting the client A4</actionname>
   1.403 +	<actiontype>removeclient</actiontype>
   1.404 +	<actionbody>
   1.405 +		<uid>4</uid>
   1.406 +	</actionbody>
   1.407 +	<actionresult>
   1.408 +		<return>KErrNone</return>
   1.409 +	</actionresult>
   1.410 +</action>
   1.411 +<action>
   1.412 +	<actionname>No Test, Deleting the CertificateAppInfoManager</actionname>
   1.413 +	<actiontype>deleteappmanager</actiontype>
   1.414 +	<actionbody></actionbody>
   1.415 +	<actionresult>
   1.416 +		<return>KErrNone</return>
   1.417 +	</actionresult>
   1.418 +</action>