os/security/cryptoservices/certificateandkeymgmt/tcertstore/scripts/certstoreconcurrent2.txt
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 <action>
     2 	<actionname>Switch on concurrency testing</actionname>
     3 	<actiontype>testconcurrent</actiontype>
     4 	<actionbody>
     5 		<KConcurrentTesting>ETrue</KConcurrentTesting>
     6 	</actionbody>
     7 	<actionresult>
     8 		<result>ETrue</result>
     9 	</actionresult>
    10 </action>
    11 <action>
    12 	<actionname>Opening a certificate store manager</actionname>
    13 	<actiontype>init</actiontype>
    14 	<actionbody>
    15 		<mode>write</mode>
    16 	</actionbody>
    17 	<actionresult>
    18 		<return>KErrNone</return>
    19 	</actionresult>
    20 </action>
    21 <action>
    22 	<actionname>Get the list of certificates</actionname>
    23 	<actiontype>listcacert</actiontype>
    24 	<actionbody>
    25 		<uid></uid>
    26 		<formatflags></formatflags>
    27 	</actionbody>
    28 	<actionresult>
    29 		<return>KErrNone</return>
    30 	</actionresult>
    31 </action>
    32 <action>
    33 	<actionname>Get the list of certificates</actionname>
    34 	<actiontype>listcacert</actiontype>
    35 	<actionbody>
    36 		<uid></uid>
    37 		<formatflags></formatflags>
    38 	</actionbody>
    39 	<actionresult>
    40 	</actionresult>
    41 </action>
    42 <action>
    43 	<actionname>Get the list of certificates</actionname>
    44 	<actiontype>listcacert</actiontype>
    45 	<actionbody>
    46 		<uid></uid>
    47 		<formatflags></formatflags>
    48 	</actionbody>
    49 	<actionresult>
    50 		<return>KErrNone</return>
    51 	</actionresult>
    52 </action>
    53 <action>
    54 	<actionname>No Test, Deleting the writable certificate store manager</actionname>
    55 	<actiontype>delete</actiontype>
    56 	<actionbody></actionbody>
    57 	<actionresult>
    58 		<return>KErrNone</return>
    59 	</actionresult>
    60 </action>
    61 <action>
    62 	<actionname>No Test, Opening a CertificateAppInfoManager</actionname>
    63 	<actiontype>initappmanager</actiontype>
    64 	<actionbody></actionbody>
    65 	<actionresult>
    66 		<return>KErrNone</return>
    67 	</actionresult>
    68 </action>
    69 
    70 <action>
    71 	<actionname>No Test, Adding client A1</actionname>
    72 	<actiontype>addclient</actiontype>
    73 	<actionbody>
    74 		<name>A1</name>
    75 		<uid>1</uid>
    76 	</actionbody>
    77 	<actionresult>
    78 		<return>KErrNone</return>
    79 	</actionresult>
    80 </action>
    81 
    82 <action>
    83 	<actionname>No Test, Adding client A2</actionname>
    84 	<actiontype>addclient</actiontype>
    85 	<actionbody>
    86 		<name>A2</name>
    87 		<uid>2</uid>
    88 	</actionbody>
    89 	<actionresult>
    90 		<return>KErrNone</return>
    91 	</actionresult>
    92 </action>
    93 
    94 <action>
    95 	<actionname>No Test, Adding client A3</actionname>
    96 	<actiontype>addclient</actiontype>
    97 	<actionbody>
    98 		<name>A3</name>
    99 		<uid>3</uid>
   100 	</actionbody>
   101 	<actionresult>
   102 		<return>KErrNone</return>
   103 	</actionresult>
   104 </action>
   105 
   106 <action>
   107 	<actionname>No Test, Adding client A4</actionname>
   108 	<actiontype>addclient</actiontype>
   109 	<actionbody>
   110 		<name>A4</name>
   111 		<uid>4</uid>
   112 	</actionbody>
   113 	<actionresult>
   114 		<return>KErrNone</return>
   115 	</actionresult>
   116 </action>
   117 <action>
   118 	<actionname>No Test, Deleting the CertificateAppInfoManager</actionname>
   119 	<actiontype>deleteappmanager</actiontype>
   120 	<actionbody></actionbody>
   121 	<actionresult>
   122 		<return>KErrNone</return>
   123 	</actionresult>
   124 </action>
   125 <action>
   126 	<actionname>Opening a certificate store manager</actionname>
   127 	<actiontype>init</actiontype>
   128 	<actionbody>
   129 		<mode>write</mode>
   130 	</actionbody>
   131 	<actionresult>
   132 		<return>KErrNone</return>
   133 	</actionresult>
   134 </action>
   135 <action>
   136 	<actionname>Add the certificate CAW1</actionname>
   137 	<actiontype>addcert</actiontype>
   138 	<actionbody>
   139 		<format>WTLS</format>
   140 		<label>CAW1</label>
   141 		<issuerkey></issuerkey>
   142 		<subjectkey></subjectkey>
   143 		<certstore>0</certstore>
   144 		<certfile>c:\unifiedcertstore2\CAW1.cer</certfile>
   145 		<certowner>CA</certowner>
   146 	</actionbody>
   147 	<actionresult>
   148 		<return>KErrNone</return>
   149 	</actionresult>
   150 </action>
   151 <action>
   152 	<actionname>Add the certificate CAW2</actionname>
   153 	<actiontype>addcert</actiontype>
   154 	<actionbody>
   155 		<format>WTLS</format>
   156 		<label>CAW2</label>
   157 		<issuerkey></issuerkey>
   158 		<subjectkey></subjectkey>
   159 		<certstore>0</certstore>
   160 		<certfile>c:\unifiedcertstore2\CAW2.cer</certfile>
   161 		<certowner>CA</certowner>
   162 	</actionbody>
   163 	<actionresult>
   164 		<return>KErrNone</return>
   165 	</actionresult>
   166 </action>
   167 <action>
   168 	<actionname>Add the certificate CAW3</actionname>
   169 	<actiontype>addcert</actiontype>
   170 	<actionbody>
   171 		<format>WTLS</format>
   172 		<label>CAW3</label>
   173 		<issuerkey></issuerkey>
   174 		<subjectkey></subjectkey>
   175 		<certstore>0</certstore>
   176 		<certfile>c:\unifiedcertstore2\CAW3.cer</certfile>
   177 		<certowner>CA</certowner>
   178 	</actionbody>
   179 	<actionresult>
   180 		<return>KErrNone</return>
   181 	</actionresult>
   182 </action>
   183 
   184 <action>
   185 	<actionname>Set trusters to the CAW2 certificate</actionname>
   186 	<actiontype>setapplications</actiontype>
   187 	<actionbody>
   188 		<label>CAW2</label>
   189 		<uid>1 2 3</uid>
   190 	</actionbody>
   191 	<actionresult>
   192 		<return>KErrNone</return>
   193 	</actionresult>
   194 </action>
   195 
   196 <action>
   197 	<actionname>Set the trust for CAW2</actionname>
   198 	<actiontype>settrust</actiontype>
   199 	<actionbody>
   200 		<label>CAW2</label>
   201 		<trust>1</trust>
   202 	</actionbody>
   203 	<actionresult>
   204 		<return>KErrNone</return>
   205 	</actionresult>
   206 </action>
   207 
   208 <action>
   209 	<actionname>Set trusters to the CAW3 certificate</actionname>
   210 	<actiontype>setapplications</actiontype>
   211 	<actionbody>
   212 		<label>CAW3</label>
   213 		<uid>1 2</uid>
   214 	</actionbody>
   215 	<actionresult>
   216 		<return>KErrNone</return>
   217 	</actionresult>
   218 </action>
   219 
   220 <action>
   221 	<actionname>Set the trust for CAW3</actionname>
   222 	<actiontype>settrust</actiontype>
   223 	<actionbody>
   224 		<label>CAW3</label>
   225 		<trust>1</trust>
   226 	</actionbody>
   227 	<actionresult>
   228 		<return>KErrNone</return>
   229 	</actionresult>
   230 </action>
   231 
   232 <action>
   233 	<actionname>Get applications for CAW1</actionname>
   234 	<actiontype>getapplications</actiontype>
   235 	<actionbody>
   236 		<label>CAW1</label>
   237 	</actionbody>
   238 	<actionresult>
   239 		<return>KErrNone</return>
   240 		<uid></uid>
   241 	</actionresult>
   242 </action>
   243 
   244 <action>
   245 	<actionname>Get the trust for CAW1</actionname>
   246 	<actiontype>gettrusters</actiontype>
   247 	<actionbody>
   248 		<label>CAW1</label>
   249 	</actionbody>
   250 	<actionresult>
   251 		<return>KErrNone</return>
   252 		<trust>0</trust>
   253 	</actionresult>
   254 </action>
   255 <action>
   256 	<actionname>Get applications for CAW2</actionname>
   257 	<actiontype>getapplications</actiontype>
   258 	<actionbody>
   259 		<label>CAW2</label>
   260 	</actionbody>
   261 	<actionresult>
   262 		<return>KErrNone</return>
   263 		<uid>1 2 3</uid>
   264 	</actionresult>
   265 </action>
   266 <action>
   267 	<actionname>Get the trust for CAW2</actionname>
   268 	<actiontype>gettrusters</actiontype>
   269 	<actionbody>
   270 		<label>CAW2</label>
   271 	</actionbody>
   272 	<actionresult>
   273 		<return>KErrNone</return>
   274 		<trust>1</trust>
   275 	</actionresult>
   276 </action>
   277 
   278 <action>
   279 	<actionname>Get applications for CAW3</actionname>
   280 	<actiontype>getapplications</actiontype>
   281 	<actionbody>
   282 		<label>CAW3</label>
   283 	</actionbody>
   284 	<actionresult>
   285 		<return>KErrNone</return>
   286 		<uid>1 2</uid>
   287 	</actionresult>
   288 </action>
   289 
   290 <action>
   291 	<actionname>Get the trust for CAW3</actionname>
   292 	<actiontype>gettrusters</actiontype>
   293 	<actionbody>
   294 		<label>CAW3</label>
   295 	</actionbody>
   296 	<actionresult>
   297 		<return>KErrNone</return>
   298 		<trust>1</trust>
   299 	</actionresult>
   300 </action>
   301 <action>
   302 	<actionname>Get the list of certificates</actionname>
   303 	<actiontype>listcacert</actiontype>
   304 	<actionbody>
   305 		<uid></uid>
   306 		<formatflags></formatflags>
   307 	</actionbody>
   308 	<actionresult>
   309 		<return>KErrNone</return>
   310 		<CCTCertInfo><label>CAW1</label></CCTCertInfo>
   311 		<CCTCertInfo><label>CAW2</label></CCTCertInfo>
   312 		<CCTCertInfo><label>CAW3</label></CCTCertInfo>
   313 	</actionresult>
   314 </action>
   315 <action>
   316 	<actionname>No Test, Deleting the certificate CAW1</actionname>
   317 	<actiontype>deletecert</actiontype>
   318 	<actionbody>
   319 		<certtype>CA</certtype>
   320 		<label>CAW1</label>
   321 	</actionbody>
   322 	<actionresult>
   323 		<return>KErrNone</return>
   324 	</actionresult>
   325 </action>
   326 <action>
   327 	<actionname>No Test, Deleting the certificate CAW2</actionname>
   328 	<actiontype>deletecert</actiontype>
   329 	<actionbody>
   330 		<certtype>CA</certtype>
   331 		<label>CAW2</label>
   332 	</actionbody>
   333 	<actionresult>
   334 		<return>KErrNone</return>
   335 	</actionresult>
   336 </action>
   337 <action>
   338 	<actionname>No Test, Deleting the certificate CAW3</actionname>
   339 	<actiontype>deletecert</actiontype>
   340 	<actionbody>
   341 		<certtype>CA</certtype>
   342 		<label>CAW3</label>
   343 	</actionbody>
   344 	<actionresult>
   345 		<return>KErrNone</return>
   346 	</actionresult>
   347 </action>
   348 <action>
   349 	<actionname>No Test, Deleting the writable certificate store manager</actionname>
   350 	<actiontype>delete</actiontype>
   351 	<actionbody></actionbody>
   352 	<actionresult>
   353 		<return>KErrNone</return>
   354 	</actionresult>
   355 </action>
   356 <action>
   357 	<actionname>No Test, Opening a CertificateAppInfoManager</actionname>
   358 	<actiontype>initappmanager</actiontype>
   359 	<actionbody></actionbody>
   360 	<actionresult>
   361 		<return>KErrNone</return>
   362 	</actionresult>
   363 </action>
   364 
   365 <action>
   366 	<actionname>No Test, Deleting the client A1</actionname>
   367 	<actiontype>removeclient</actiontype>
   368 	<actionbody>
   369 		<uid>1</uid>
   370 	</actionbody>
   371 	<actionresult>
   372 		<return>KErrNone</return>
   373 	</actionresult>
   374 </action>
   375 
   376 <action>
   377 	<actionname>No Test, Deleting the client A2</actionname>
   378 	<actiontype>removeclient</actiontype>
   379 	<actionbody>
   380 		<uid>2</uid>
   381 	</actionbody>
   382 	<actionresult>
   383 		<return>KErrNone</return>
   384 	</actionresult>
   385 </action>
   386 
   387 <action>
   388 	<actionname>No Test, Deleting the client A3</actionname>
   389 	<actiontype>removeclient</actiontype>
   390 	<actionbody>
   391 		<uid>3</uid>
   392 	</actionbody>
   393 	<actionresult>
   394 		<return>KErrNone</return>
   395 	</actionresult>
   396 </action>
   397 
   398 <action>
   399 	<actionname>No Test, Deleting the client A4</actionname>
   400 	<actiontype>removeclient</actiontype>
   401 	<actionbody>
   402 		<uid>4</uid>
   403 	</actionbody>
   404 	<actionresult>
   405 		<return>KErrNone</return>
   406 	</actionresult>
   407 </action>
   408 <action>
   409 	<actionname>No Test, Deleting the CertificateAppInfoManager</actionname>
   410 	<actiontype>deleteappmanager</actiontype>
   411 	<actionbody></actionbody>
   412 	<actionresult>
   413 		<return>KErrNone</return>
   414 	</actionresult>
   415 </action>