cryptoservices/certificateandkeymgmt/tcertstore/scripts/unifiedcertstore2-conf1.txt
changeset 0 2c201484c85f
equal deleted inserted replaced
-1:000000000000 0:2c201484c85f
       
     1 //4.1 Test cases for single file-based writable certificate store
       
     2 
       
     3 //4.1.1 Successfull addition, listing and retrieval of certificates (X.509)
       
     4 <action>
       
     5 	<actionname>No Test,Opening a CertificateAppInfoManager</actionname>
       
     6 	<actiontype>initappmanager</actiontype>
       
     7 	<actionbody></actionbody>
       
     8 	<actionresult>
       
     9 		<return>KErrNone</return>
       
    10 	</actionresult>
       
    11 </action>
       
    12 
       
    13 <action>
       
    14 	<actionname>No Test,Adding client A1</actionname>
       
    15 	<actiontype>addclient</actiontype>
       
    16 	<actionbody>
       
    17 		<name>A1</name>
       
    18 		<uid>1</uid>
       
    19 	</actionbody>
       
    20 	<actionresult>
       
    21 		<return>KErrNone</return>
       
    22 	</actionresult>
       
    23 </action>
       
    24 
       
    25 <action>
       
    26 	<actionname>No Test,Adding client A2</actionname>
       
    27 	<actiontype>addclient</actiontype>
       
    28 	<actionbody>
       
    29 		<name>A2</name>
       
    30 		<uid>2</uid>
       
    31 	</actionbody>
       
    32 	<actionresult>
       
    33 		<return>KErrNone</return>
       
    34 	</actionresult>
       
    35 </action>
       
    36 
       
    37 <action>
       
    38 	<actionname>No Test,Adding client A3</actionname>
       
    39 	<actiontype>addclient</actiontype>
       
    40 	<actionbody>
       
    41 		<name>A3</name>
       
    42 		<uid>3</uid>
       
    43 	</actionbody>
       
    44 	<actionresult>
       
    45 		<return>KErrNone</return>
       
    46 	</actionresult>
       
    47 </action>
       
    48 
       
    49 <action>
       
    50 	<actionname>No Test,Adding client A4</actionname>
       
    51 	<actiontype>addclient</actiontype>
       
    52 	<actionbody>
       
    53 		<name>A4</name>
       
    54 		<uid>4</uid>
       
    55 	</actionbody>
       
    56 	<actionresult>
       
    57 		<return>KErrNone</return>
       
    58 	</actionresult>
       
    59 </action>
       
    60 
       
    61 <action>
       
    62 	<actionname>No Test,Deleting the CertificateAppInfoManager</actionname>
       
    63 	<actiontype>deleteappmanager</actiontype>
       
    64 	<actionbody></actionbody>
       
    65 	<actionresult>
       
    66 		<return>KErrNone</return>
       
    67 	</actionresult>
       
    68 </action>
       
    69 
       
    70 <action>
       
    71 <actionname>1.1.0.4 Import a RSA key</actionname>
       
    72 	<actiontype>importkey</actiontype>
       
    73 	<actionbody>
       
    74 		<ImportData>rsacertkey1.txt</ImportData>
       
    75 		<keyusage>AllUsagesButNR</keyusage>
       
    76 		<keylabel>*IMPORTED* RSA key 1</keylabel>
       
    77 		<keyaccesstype>Extractable</keyaccesstype>
       
    78 	</actionbody>
       
    79 	<actionresult>
       
    80 		<return>KErrNone</return>
       
    81 	</actionresult>
       
    82 </action>
       
    83 
       
    84 <action>
       
    85 <actionname>1.1.0.5 Import a RSA key</actionname>
       
    86 	<actiontype>importkey</actiontype>
       
    87 	<actionbody>
       
    88 		<ImportData>rsacertkey2.txt</ImportData>
       
    89 		<keyusage>AllUsagesButNR</keyusage>
       
    90 		<keylabel>*IMPORTED* RSA key 2</keylabel>
       
    91 		<keyaccesstype>Extractable</keyaccesstype>
       
    92 	</actionbody>
       
    93 	<actionresult>
       
    94 		<return>KErrNone</return>
       
    95 	</actionresult>
       
    96 </action>
       
    97 
       
    98 <action>
       
    99 <actionname>1.1.0.6 Import a RSA key</actionname>
       
   100 	<actiontype>importkey</actiontype>
       
   101 	<actionbody>
       
   102 		<ImportData>rsacertkey3.txt</ImportData>
       
   103 		<keyusage>AllUsagesButNR</keyusage>
       
   104 		<keylabel>*IMPORTED* RSA key 3</keylabel>
       
   105 		<keyaccesstype>Extractable</keyaccesstype>
       
   106 	</actionbody>
       
   107 	<actionresult>
       
   108 		<return>KErrNone</return>
       
   109 	</actionresult>
       
   110 </action>
       
   111 
       
   112 <action>
       
   113 	<actionname>4.1.1.1,Opening a certificate store manager</actionname>
       
   114 	<actiontype>init</actiontype>
       
   115 	<actionbody>
       
   116 		<mode>write</mode>
       
   117 	</actionbody>
       
   118 	<actionresult>
       
   119 		<return>KErrNone</return>
       
   120 	</actionresult>
       
   121 </action>
       
   122 
       
   123 <action>
       
   124 	<actionname>No Test, Deleting all certs ***NEW***</actionname>
       
   125 	<actiontype>deletecert</actiontype>
       
   126 	<actionbody>
       
   127 		<label>*.*</label>
       
   128 		<deleteallcerts>1</deleteallcerts>
       
   129 	</actionbody>
       
   130 	<actionresult>
       
   131 		<return>KErrNone</return>
       
   132 	</actionresult>
       
   133 </action>
       
   134 
       
   135 <action>
       
   136 	<actionname>4.1.1.1 Add user certificate with no corresponding private key</actionname>
       
   137 	<actiontype>addcert</actiontype>
       
   138 	<actionbody>
       
   139 		<format>X509</format>
       
   140 		<label>BadUserCert</label>
       
   141 		<issuerkey></issuerkey>
       
   142 		<certstore>0</certstore>
       
   143 		<certfile>c:\unifiedcertstore2\CAX1.cer</certfile>
       
   144 		<certowner>user</certowner>
       
   145 	</actionbody>
       
   146 	<actionresult>
       
   147 		<return>KErrPrivateKeyNotFound</return>
       
   148 	</actionresult>
       
   149 </action>
       
   150 
       
   151 <action>
       
   152 	<actionname>4.1.1.2 Add user certificate with no corresponding private key</actionname>
       
   153 	<actiontype>addcert</actiontype>
       
   154 	<actionbody>
       
   155 		<format>X509</format>
       
   156 		<label>BadUserCert</label>
       
   157 		<issuerkey></issuerkey>
       
   158 		<certstore>0</certstore>
       
   159 		<certfile>c:\unifiedcertstore2\CAX2.cer</certfile>
       
   160 		<certowner>user</certowner>
       
   161 	</actionbody>
       
   162 	<actionresult>
       
   163 		<return>KErrPrivateKeyNotFound</return>
       
   164 	</actionresult>
       
   165 </action>
       
   166 
       
   167 <action>
       
   168 	<actionname>4.1.1.3 Add user certificate with no corresponding private key</actionname>
       
   169 	<actiontype>addcert</actiontype>
       
   170 	<actionbody>
       
   171 		<format>X509</format>
       
   172 		<label>BadUserCert</label>
       
   173 		<issuerkey></issuerkey>
       
   174 		<certstore>0</certstore>
       
   175 		<certfile>c:\unifiedcertstore2\CAX3.cer</certfile>
       
   176 		<certowner>user</certowner>
       
   177 	</actionbody>
       
   178 	<actionresult>
       
   179 		<return>KErrPrivateKeyNotFound</return>
       
   180 	</actionresult>
       
   181 </action>
       
   182 
       
   183 <action>
       
   184 	<actionname>4.1.1.4,Add the certificate CAX1</actionname>
       
   185 	<actiontype>addcert</actiontype>
       
   186 	<actionbody>
       
   187 		<format>X509</format>
       
   188 		<label>CAX1</label>
       
   189 		<issuerkey></issuerkey>
       
   190 		<subjectkey></subjectkey>
       
   191 		<certstore>0</certstore>
       
   192 		<certfile>c:\unifiedcertstore2\CAX1.cer</certfile>
       
   193 		<certowner>ca</certowner>
       
   194 	</actionbody>
       
   195 	<actionresult>
       
   196 		<return>KErrNone</return>
       
   197 	</actionresult>
       
   198 </action>
       
   199 
       
   200 <action>
       
   201 	<actionname>4.1.1.5,Add the certificate CAX2</actionname>
       
   202 	<actiontype>addcert</actiontype>
       
   203 	<actionbody>
       
   204 		<format>X509</format>
       
   205 		<label>CAX2</label>
       
   206 		<issuerkey></issuerkey>
       
   207 		<subjectkey></subjectkey>
       
   208 		<certstore>0</certstore>
       
   209 		<certfile>c:\unifiedcertstore2\CAX2.cer</certfile>
       
   210 		<certowner>ca</certowner>
       
   211 	</actionbody>
       
   212 	<actionresult>
       
   213 		<return>KErrNone</return>
       
   214 	</actionresult>
       
   215 </action>
       
   216 
       
   217 <action>
       
   218 	<actionname>4.1.1.6,Add the certificate CAX3</actionname>
       
   219 	<actiontype>addcert</actiontype>
       
   220 	<actionbody>
       
   221 		<format>X509</format>
       
   222 		<label>CAX3</label>
       
   223 		<issuerkey></issuerkey>
       
   224 		<subjectkey></subjectkey>
       
   225 		<certstore>0</certstore>
       
   226 		<certfile>c:\unifiedcertstore2\CAX3.cer</certfile>
       
   227 		<certowner>ca</certowner>
       
   228 	</actionbody>
       
   229 	<actionresult>
       
   230 		<return>KErrNone</return>
       
   231 	</actionresult>
       
   232 </action>
       
   233 
       
   234 <action>
       
   235 	<actionname>4.1.1.7,Get the list of certificates</actionname>
       
   236 	<actiontype>listcert</actiontype>
       
   237 	<actionbody>
       
   238 		<filter>
       
   239 			<ownertype>ca</ownertype>
       
   240 		</filter>
       
   241 	</actionbody>
       
   242 	<actionresult>
       
   243 		<return>KErrNone</return>
       
   244 		<CCTCertInfo><label>CAX1</label></CCTCertInfo>
       
   245 		<CCTCertInfo><label>CAX2</label></CCTCertInfo>
       
   246 		<CCTCertInfo><label>CAX3</label></CCTCertInfo>
       
   247 	</actionresult>
       
   248 </action>
       
   249 
       
   250 <action>
       
   251 	<actionname>4.1.1.7.1,Retrieve CAX1 cert</actionname>
       
   252 	<actiontype>retrieve</actiontype>
       
   253 	<actionbody>
       
   254 		<label>CAX1</label>
       
   255 	</actionbody>
       
   256 	<actionresult>
       
   257 		<return>KErrNone</return>
       
   258 	</actionresult>
       
   259 </action>
       
   260 
       
   261 <action>
       
   262 	<actionname>4.1.1.8,Get the list of certificates, searching by Issuer DN</actionname>
       
   263 	<actiontype>listcert</actiontype>
       
   264 	<actionbody>
       
   265 		<filter>
       
   266 			<ownertype>ca</ownertype>
       
   267 		</filter>
       
   268 		<issuerdn>c:\unifiedcertstore2\CAX1.cer</issuerdn>
       
   269 	</actionbody>
       
   270 	<actionresult>
       
   271 		<return>KErrNone</return>
       
   272 		<CCTCertInfo><label>CAX1</label></CCTCertInfo>
       
   273 	</actionresult>
       
   274 </action>
       
   275 
       
   276 <action>
       
   277 	<actionname>4.1.1.9,Get the list of certificates, searching by 2 Issuer DNs</actionname>
       
   278 	<actiontype>listcert</actiontype>
       
   279 	<actionbody>
       
   280 		<filter>
       
   281 			<ownertype>ca</ownertype>
       
   282 		</filter>
       
   283 		<issuerdn>c:\unifiedcertstore2\CAX1.cer</issuerdn>
       
   284 		<issuerdn>c:\unifiedcertstore2\CAX2.cer</issuerdn>
       
   285 	</actionbody>
       
   286 	<actionresult>
       
   287 		<return>KErrNone</return>
       
   288 		<CCTCertInfo><label>CAX1</label></CCTCertInfo>
       
   289 		<CCTCertInfo><label>CAX2</label></CCTCertInfo>
       
   290 	</actionresult>
       
   291 </action>
       
   292 
       
   293 <action>
       
   294 	<actionname>4.1.1.10,Get the list of certificates, searching by 3 Issuer DNs</actionname>
       
   295 	<actiontype>listcert</actiontype>
       
   296 	<actionbody>
       
   297 		<filter>
       
   298 			<ownertype>ca</ownertype>
       
   299 		</filter>
       
   300 		<issuerdn>c:\unifiedcertstore2\CAX1.cer</issuerdn>
       
   301 		<issuerdn>c:\unifiedcertstore2\CAX2.cer</issuerdn>
       
   302 		<issuerdn>c:\unifiedcertstore2\CAX3.cer</issuerdn>
       
   303 	</actionbody>
       
   304 	<actionresult>
       
   305 		<return>KErrNone</return>
       
   306 		<CCTCertInfo><label>CAX1</label></CCTCertInfo>
       
   307 		<CCTCertInfo><label>CAX2</label></CCTCertInfo>
       
   308 		<CCTCertInfo><label>CAX3</label></CCTCertInfo>
       
   309 	</actionresult>
       
   310 </action>
       
   311 
       
   312 <action>
       
   313 	<actionname>4.1.1.11,Deleting the certificate store manager</actionname>
       
   314 	<actiontype>delete</actiontype>
       
   315 	<actionbody></actionbody>
       
   316 	<actionresult>
       
   317 		<return>KErrNone</return>
       
   318 	</actionresult>
       
   319 </action>
       
   320 
       
   321 <action>
       
   322 	<actionname>4.1.1.12,Opening a certificate store manager</actionname>
       
   323 	<actiontype>init</actiontype>
       
   324 	<actionbody>
       
   325 		<mode>write</mode>
       
   326 	</actionbody>
       
   327 	<actionresult>
       
   328 		<return>KErrNone</return>
       
   329 	</actionresult>
       
   330 </action>
       
   331 
       
   332 <action>
       
   333 	<actionname>4.1.1.13,Get the list of certificates</actionname>
       
   334 	<actiontype>listcert</actiontype>
       
   335 	<actionbody>
       
   336 		<filter>
       
   337 			<ownertype>ca</ownertype>
       
   338 		</filter>
       
   339 	</actionbody>
       
   340 	<actionresult>
       
   341 		<return>KErrNone</return>
       
   342 		<CCTCertInfo><label>CAX1</label></CCTCertInfo>
       
   343 		<CCTCertInfo><label>CAX2</label></CCTCertInfo>
       
   344 		<CCTCertInfo><label>CAX3</label></CCTCertInfo>
       
   345 	</actionresult>
       
   346 </action>
       
   347 
       
   348 <action>
       
   349 	<actionname>4.1.1.14, Get a list of one certificate by specifying label CAX1</actionname>
       
   350 	<actiontype>listcert</actiontype>
       
   351 	<actionbody>
       
   352 		<filter>
       
   353 			<ownertype>ca</ownertype>
       
   354 			<label>CAX1</label>
       
   355 		</filter>
       
   356 	</actionbody>
       
   357 	<actionresult>
       
   358 		<return>KErrNone</return>
       
   359 		<CCTCertInfo><label>CAX1</label></CCTCertInfo>
       
   360 	</actionresult>
       
   361 </action>
       
   362 
       
   363 <action>
       
   364 	<actionname>4.1.1.15, Get a list of one certificate by specifying label CAX3</actionname>
       
   365 	<actiontype>listcert</actiontype>
       
   366 	<actionbody>
       
   367 		<filter>
       
   368 			<ownertype>ca</ownertype>
       
   369 			<label>CAX3</label>
       
   370 		</filter>
       
   371 	</actionbody>
       
   372 	<actionresult>
       
   373 		<return>KErrNone</return>
       
   374 		<CCTCertInfo><label>CAX3</label></CCTCertInfo>
       
   375 	</actionresult>
       
   376 </action>
       
   377 
       
   378 //4.1.2 Successfull addition, listing and retrieval of certificates (WTLS)
       
   379 <action>
       
   380 	<actionname>4.1.2.1,Add the certificate CAW1</actionname>
       
   381 	<actiontype>addcert</actiontype>
       
   382 	<actionbody>
       
   383 		<format>WTLS</format>
       
   384 		<label>CAW1</label>
       
   385 		<issuerkey></issuerkey>
       
   386 		<subjectkey></subjectkey>
       
   387 		<certstore>0</certstore>
       
   388 		<certfile>c:\unifiedcertstore2\CAW1.cer</certfile>
       
   389 		<certowner>ca</certowner>
       
   390 	</actionbody>
       
   391 	<actionresult>
       
   392 		<return>KErrNone</return>
       
   393 	</actionresult>
       
   394 </action>
       
   395 
       
   396 <action>
       
   397 	<actionname>4.1.2.2,Add the certificate CAW2</actionname>
       
   398 	<actiontype>addcert</actiontype>
       
   399 	<actionbody>
       
   400 		<format>WTLS</format>
       
   401 		<label>CAW2</label>
       
   402 		<issuerkey></issuerkey>
       
   403 		<subjectkey></subjectkey>
       
   404 		<certstore>0</certstore>
       
   405 		<certfile>c:\unifiedcertstore2\CAW2.cer</certfile>
       
   406 		<certowner>ca</certowner>
       
   407 	</actionbody>
       
   408 	<actionresult>
       
   409 		<return>KErrNone</return>
       
   410 	</actionresult>
       
   411 </action>
       
   412 
       
   413 <action>
       
   414 	<actionname>4.1.2.3,Add the certificate CAW3</actionname>
       
   415 	<actiontype>addcert</actiontype>
       
   416 	<actionbody>
       
   417 		<format>WTLS</format>
       
   418 		<label>CAW3</label>
       
   419 		<issuerkey></issuerkey>
       
   420 		<subjectkey></subjectkey>
       
   421 		<certstore>0</certstore>
       
   422 		<certfile>c:\unifiedcertstore2\CAW3.cer</certfile>
       
   423 		<certowner>ca</certowner>
       
   424 	</actionbody>
       
   425 	<actionresult>
       
   426 		<return>KErrNone</return>
       
   427 	</actionresult>
       
   428 </action>
       
   429 
       
   430 <action>
       
   431 	<actionname>4.1.2.4,Get the list of certificates</actionname>
       
   432 	<actiontype>listcert</actiontype>
       
   433 	<actionbody>
       
   434 		<filter>
       
   435 			<ownertype>ca</ownertype>
       
   436 		</filter>
       
   437 	</actionbody>
       
   438 	<actionresult>
       
   439 		<return>KErrNone</return>
       
   440 		<CCTCertInfo><label>CAX1</label></CCTCertInfo>
       
   441 		<CCTCertInfo><label>CAX2</label></CCTCertInfo>
       
   442 		<CCTCertInfo><label>CAX3</label></CCTCertInfo>
       
   443 		<CCTCertInfo><label>CAW1</label></CCTCertInfo>
       
   444 		<CCTCertInfo><label>CAW2</label></CCTCertInfo>
       
   445 		<CCTCertInfo><label>CAW3</label></CCTCertInfo>
       
   446 	</actionresult>
       
   447 </action>
       
   448 
       
   449 <action>
       
   450 	<actionname>4.1.2.4.1,List CAX1 by issuer DN</actionname>
       
   451 	<actiontype>listcert</actiontype>
       
   452 	<actionbody>
       
   453 		<filter>
       
   454 			<ownertype>ca</ownertype>
       
   455 		</filter>
       
   456 		<issuerdn>c:\unifiedcertstore2\CAX1.cer</issuerdn>
       
   457 	</actionbody>
       
   458 	<actionresult>
       
   459 		<return>KErrNone</return>
       
   460 		<CCTCertInfo><label>CAX1</label></CCTCertInfo>
       
   461 	</actionresult>
       
   462 </action>
       
   463 
       
   464 <action>
       
   465 	<actionname>4.1.2.4.2,Retrieve CAW1 cert</actionname>
       
   466 	<actiontype>retrieve</actiontype>
       
   467 	<actionbody>
       
   468 		<label>CAW1</label>
       
   469 	</actionbody>
       
   470 	<actionresult>
       
   471 		<return>KErrNone</return>
       
   472 	</actionresult>
       
   473 </action>
       
   474 
       
   475 <action>
       
   476 	<actionname>4.1.2.5,Deleting the certificate store manager</actionname>
       
   477 	<actiontype>delete</actiontype>
       
   478 	<actionbody></actionbody>
       
   479 	<actionresult>
       
   480 		<return>KErrNone</return>
       
   481 	</actionresult>
       
   482 </action>
       
   483 
       
   484 <action>
       
   485 	<actionname>4.1.2.6,Opening a certificate store manager</actionname>
       
   486 	<actiontype>init</actiontype>
       
   487 	<actionbody>
       
   488 		<mode>write</mode>
       
   489 	</actionbody>
       
   490 	<actionresult>
       
   491 		<return>KErrNone</return>
       
   492 	</actionresult>
       
   493 </action>
       
   494 
       
   495 <action>
       
   496 	<actionname>4.1.2.7,Get the list of certificates</actionname>
       
   497 	<actiontype>listcert</actiontype>
       
   498 	<actionbody>
       
   499 		<filter>
       
   500 			<ownertype>ca</ownertype>
       
   501 		</filter>
       
   502 	</actionbody>
       
   503 	<actionresult>
       
   504 		<return>KErrNone</return>
       
   505 		<CCTCertInfo><label>CAX1</label></CCTCertInfo>
       
   506 		<CCTCertInfo><label>CAX2</label></CCTCertInfo>
       
   507 		<CCTCertInfo><label>CAX3</label></CCTCertInfo>
       
   508 		<CCTCertInfo><label>CAW1</label></CCTCertInfo>
       
   509 		<CCTCertInfo><label>CAW2</label></CCTCertInfo>
       
   510 		<CCTCertInfo><label>CAW3</label></CCTCertInfo>
       
   511 	</actionresult>
       
   512 </action>
       
   513 
       
   514 //4.1.3 Successfull trust settings updates and retrieval
       
   515 <action>
       
   516 	<actionname>4.1.3.1,Set applications to the CAX1 certificate</actionname>
       
   517 	<actiontype>setapplications</actiontype>
       
   518 	<actionbody>
       
   519 		<label>CAX1</label>
       
   520 		<uid>1 2 3</uid>
       
   521 	</actionbody>
       
   522 	<actionresult>
       
   523 		<return>KErrNone</return>
       
   524 	</actionresult>
       
   525 </action>
       
   526 
       
   527 <action>
       
   528 	<actionname>4.1.3.1.1,Set duplicate applications to the CAX1. Should leave with KErrArgument</actionname>
       
   529 	<actiontype>setapplications</actiontype>
       
   530 	<actionbody>
       
   531 		<label>CAX1</label>
       
   532 		<uid>1 1 1</uid>
       
   533 	</actionbody>
       
   534 	<actionresult>
       
   535 		<return>KErrArgument</return>
       
   536 	</actionresult>
       
   537 </action> 
       
   538 
       
   539 <action>
       
   540 	<actionname>4.1.3.2,set the trust for CAX1</actionname>
       
   541 	<actiontype>settrust</actiontype> 
       
   542 	<actionbody>
       
   543 		<label>CAX1</label>
       
   544 		<trust>1</trust>
       
   545 	</actionbody>
       
   546 	<actionresult>
       
   547 		<return>KErrNone</return>
       
   548 	</actionresult>
       
   549 </action>
       
   550 
       
   551 <action>
       
   552 	<actionname>4.1.3.3,Set applications to the CAX2 certificate</actionname>
       
   553 	<actiontype>setapplications</actiontype>
       
   554 	<actionbody>
       
   555 		<label>CAX2</label>
       
   556 		<uid>1</uid>
       
   557 	</actionbody>
       
   558 	<actionresult>
       
   559 		<return>KErrNone</return>
       
   560 	</actionresult>
       
   561 </action>
       
   562 
       
   563 
       
   564 <action>
       
   565 	<actionname>4.1.3.3.1 Set duplicate applications to the CAX2. Should leave with KErrArgument</actionname>
       
   566 	<actiontype>setapplications</actiontype>
       
   567 	<actionbody>
       
   568 		<label>CAX2</label>
       
   569 		<uid>1 2 1</uid>
       
   570 	</actionbody>
       
   571 	<actionresult>
       
   572 		<return>KErrArgument</return>
       
   573 	</actionresult>
       
   574 </action>
       
   575 
       
   576 
       
   577 <action>
       
   578 	<actionname>4.1.3.4,set the trust for CAX2</actionname>
       
   579 	<actiontype>settrust</actiontype>
       
   580 	<actionbody>
       
   581 		<label>CAX2</label>
       
   582 		<trust>1</trust>
       
   583 	</actionbody>
       
   584 	<actionresult>
       
   585 		<return>KErrNone</return>
       
   586 	</actionresult>
       
   587 </action>
       
   588 
       
   589 <action>
       
   590 	<actionname>4.1.3.5,Set applications to the CAX3 certificate</actionname>
       
   591 	<actiontype>setapplications</actiontype>
       
   592 	<actionbody>
       
   593 		<label>CAX3</label>
       
   594 		<uid></uid>
       
   595 	</actionbody>
       
   596 	<actionresult>
       
   597 		<return>KErrNone</return>
       
   598 	</actionresult>
       
   599 </action>
       
   600 
       
   601 <action>
       
   602 	<actionname>4.1.3.6,set the trust for CAX3</actionname>
       
   603 	<actiontype>settrust</actiontype>
       
   604 	<actionbody>
       
   605 		<label>CAX3</label>
       
   606 		<trust>1</trust>
       
   607 	</actionbody>
       
   608 	<actionresult>
       
   609 		<return>KErrNone</return>
       
   610 	</actionresult>
       
   611 </action>
       
   612 
       
   613 <action>
       
   614 	<actionname>4.1.3.7,Get applications for CAX1</actionname>
       
   615 	<actiontype>getapplications</actiontype>
       
   616 	<actionbody>
       
   617 		<label>CAX1</label>
       
   618 	</actionbody>
       
   619 	<actionresult>
       
   620 		<return>KErrNone</return>
       
   621 		<uid>1 2 3</uid>
       
   622 	</actionresult>
       
   623 </action>
       
   624 
       
   625 <action>
       
   626 	<actionname>4.1.3.8,Get the trust for CAX1</actionname>
       
   627 	<actiontype>gettrusters</actiontype>
       
   628 	<actionbody>
       
   629 		<label>CAX1</label>
       
   630 	</actionbody>
       
   631 	<actionresult>
       
   632 		<return>KErrNone</return>
       
   633 		<trust>1</trust>
       
   634 	</actionresult>
       
   635 </action>
       
   636 
       
   637 <action>
       
   638 	<actionname>4.1.3.9,Get applications for CAX2</actionname>
       
   639 	<actiontype>getapplications</actiontype>
       
   640 	<actionbody>
       
   641 		<label>CAX2</label>
       
   642 	</actionbody>
       
   643 	<actionresult>
       
   644 		<return>KErrNone</return>
       
   645 		<uid>1</uid>
       
   646 	</actionresult>
       
   647 </action>
       
   648 
       
   649 <action>
       
   650 	<actionname>4.1.3.10,Get the trust for CAX2</actionname>
       
   651 	<actiontype>gettrusters</actiontype>
       
   652 	<actionbody>
       
   653 		<label>CAX2</label>
       
   654 	</actionbody>
       
   655 	<actionresult>
       
   656 		<return>KErrNone</return>
       
   657 		<trust>1</trust>
       
   658 	</actionresult>
       
   659 </action>
       
   660 
       
   661 <action>
       
   662 	<actionname>4.1.3.11,Get applications for CAX3</actionname>
       
   663 	<actiontype>getapplications</actiontype>
       
   664 	<actionbody>
       
   665 		<label>CAX3</label>
       
   666 	</actionbody>
       
   667 	<actionresult>
       
   668 		<return>KErrNone</return>
       
   669 		<uid></uid>
       
   670 	</actionresult>
       
   671 </action>
       
   672 
       
   673 <action>
       
   674 	<actionname>4.1.3.12,Get the trust for CAX3</actionname>
       
   675 	<actiontype>gettrusters</actiontype>
       
   676 	<actionbody>
       
   677 		<label>CAX3</label>
       
   678 	</actionbody>
       
   679 	<actionresult>
       
   680 		<return>KErrNone</return>
       
   681 		<trust>1</trust>
       
   682 	</actionresult>
       
   683 </action>
       
   684 
       
   685 <action>
       
   686 	<actionname>4.1.3.13,Set trusters to the CAW2 certificate</actionname>
       
   687 	<actiontype>setapplications</actiontype>
       
   688 	<actionbody>
       
   689 		<label>CAW2</label>
       
   690 		<uid>1 2 3</uid>
       
   691 	</actionbody>
       
   692 	<actionresult>
       
   693 		<return>KErrNone</return>
       
   694 	</actionresult>
       
   695 </action>
       
   696 
       
   697 <action>
       
   698 	<actionname>4.1.3.14,set the trust for CAW2</actionname>
       
   699 	<actiontype>settrust</actiontype>
       
   700 	<actionbody>
       
   701 		<label>CAW2</label>
       
   702 		<trust>1</trust>
       
   703 	</actionbody>
       
   704 	<actionresult>
       
   705 		<return>KErrNone</return>
       
   706 	</actionresult>
       
   707 </action>
       
   708 
       
   709 <action>
       
   710 	<actionname>4.1.3.15,Set trusters to the CAW3 certificate</actionname>
       
   711 	<actiontype>setapplications</actiontype>
       
   712 	<actionbody>
       
   713 		<label>CAW3</label>
       
   714 		<uid>1 2</uid>
       
   715 	</actionbody>
       
   716 	<actionresult>
       
   717 		<return>KErrNone</return>
       
   718 	</actionresult>
       
   719 </action>
       
   720 
       
   721 <action>
       
   722 	<actionname>4.1.3.16,set the trust for CAW3</actionname>
       
   723 	<actiontype>settrust</actiontype>
       
   724 	<actionbody>
       
   725 		<label>CAW3</label>
       
   726 		<trust>1</trust>
       
   727 	</actionbody>
       
   728 	<actionresult>
       
   729 		<return>KErrNone</return>
       
   730 	</actionresult>
       
   731 </action>
       
   732 
       
   733 <action>
       
   734 	<actionname>4.1.3.17,Get applications for CAW1</actionname>
       
   735 	<actiontype>getapplications</actiontype>
       
   736 	<actionbody>
       
   737 		<label>CAW1</label>
       
   738 	</actionbody>
       
   739 	<actionresult>
       
   740 		<return>KErrNone</return>
       
   741 		<uid></uid>
       
   742 	</actionresult>
       
   743 </action>
       
   744 
       
   745 <action>
       
   746 	<actionname>4.1.3.18,Get the trust for CAW1</actionname>
       
   747 	<actiontype>gettrusters</actiontype>
       
   748 	<actionbody>
       
   749 		<label>CAW1</label>
       
   750 	</actionbody>
       
   751 	<actionresult>
       
   752 		<return>KErrNone</return>
       
   753 		<trust>0</trust>
       
   754 	</actionresult>
       
   755 </action>
       
   756 
       
   757 <action>
       
   758 	<actionname>4.1.3.19,Get applications for CAW2</actionname>
       
   759 	<actiontype>getapplications</actiontype>
       
   760 	<actionbody>
       
   761 		<label>CAW2</label>
       
   762 	</actionbody>
       
   763 	<actionresult>
       
   764 		<return>KErrNone</return>
       
   765 		<uid>1 2 3</uid>
       
   766 	</actionresult>
       
   767 </action>
       
   768 
       
   769 <action>
       
   770 	<actionname>4.1.3.20,Get the trust for CAW2</actionname>
       
   771 	<actiontype>gettrusters</actiontype>
       
   772 	<actionbody>
       
   773 		<label>CAW2</label>
       
   774 	</actionbody>
       
   775 	<actionresult>
       
   776 		<return>KErrNone</return>
       
   777 		<trust>1</trust>
       
   778 	</actionresult>
       
   779 </action>
       
   780 
       
   781 <action>
       
   782 	<actionname>4.1.3.21,Get applications for CAW3</actionname>
       
   783 	<actiontype>getapplications</actiontype>
       
   784 	<actionbody>
       
   785 		<label>CAW3</label>
       
   786 	</actionbody>
       
   787 	<actionresult>
       
   788 		<return>KErrNone</return>
       
   789 		<uid>1 2</uid>
       
   790 	</actionresult>
       
   791 </action>
       
   792 
       
   793 <action>
       
   794 	<actionname>4.1.3.22,Get the trust for CAW3</actionname>
       
   795 	<actiontype>gettrusters</actiontype>
       
   796 	<actionbody>
       
   797 		<label>CAW3</label>
       
   798 	</actionbody>
       
   799 	<actionresult>
       
   800 		<return>KErrNone</return>
       
   801 		<trust>1</trust>
       
   802 	</actionresult>
       
   803 </action>
       
   804 
       
   805 ///////////////////////////////////////////////////////////
       
   806 //	Test multiple calls to setapplicability/settrust
       
   807 <action>
       
   808 	<actionname>4.1.3.1a,Set applications to the CAX1 certificate</actionname>
       
   809 	<actiontype>setapplications</actiontype>
       
   810 	<actionbody>
       
   811 		<label>CAX1</label>
       
   812 		<uid>1 2</uid>
       
   813 	</actionbody>
       
   814 	<actionresult>
       
   815 		<return>KErrNone</return>
       
   816 	</actionresult>
       
   817 </action>
       
   818 <action>
       
   819 	<actionname>4.1.3.2a,set the trust for CAX1</actionname>
       
   820 	<actiontype>settrust</actiontype>
       
   821 	<actionbody>
       
   822 		<label>CAX1</label>
       
   823 		<trust>1</trust>
       
   824 	</actionbody>
       
   825 	<actionresult>
       
   826 		<return>KErrNone</return>
       
   827 	</actionresult>
       
   828 </action>
       
   829 <action>
       
   830 	<actionname>4.1.3.7a,Get applications for CAX1</actionname>
       
   831 	<actiontype>getapplications</actiontype>
       
   832 	<actionbody>
       
   833 		<label>CAX1</label>
       
   834 	</actionbody>
       
   835 	<actionresult>
       
   836 		<return>KErrNone</return>
       
   837 		<uid>1 2</uid>
       
   838 	</actionresult>
       
   839 </action>
       
   840 <action>
       
   841 	<actionname>4.1.3.8a,Get the trust for CAX1</actionname>
       
   842 	<actiontype>gettrusters</actiontype>
       
   843 	<actionbody>
       
   844 		<label>CAX1</label>
       
   845 	</actionbody>
       
   846 	<actionresult>
       
   847 		<return>KErrNone</return>
       
   848 		<trust>1</trust>
       
   849 	</actionresult>
       
   850 </action>
       
   851 ///////////////////////////////////////////////////////////
       
   852 <action>
       
   853 	<actionname>4.1.3.1b,Set applications to the CAX1 certificate</actionname>
       
   854 	<actiontype>setapplications</actiontype>
       
   855 	<actionbody>
       
   856 		<label>CAX1</label>
       
   857 		<uid>1 2 3 4</uid>
       
   858 	</actionbody>
       
   859 	<actionresult>
       
   860 		<return>KErrNone</return>
       
   861 	</actionresult>
       
   862 </action>
       
   863 <action>
       
   864 	<actionname>4.1.3.2b,set the trust for CAX1</actionname>
       
   865 	<actiontype>settrust</actiontype>
       
   866 	<actionbody>
       
   867 		<label>CAX1</label>
       
   868 		<trust>0</trust>
       
   869 	</actionbody>
       
   870 	<actionresult>
       
   871 		<return>KErrNone</return>
       
   872 	</actionresult>
       
   873 </action>
       
   874 <action>
       
   875 	<actionname>4.1.3.7b,Get applications for CAX1</actionname>
       
   876 	<actiontype>getapplications</actiontype>
       
   877 	<actionbody>
       
   878 		<label>CAX1</label>
       
   879 	</actionbody>
       
   880 	<actionresult>
       
   881 		<return>KErrNone</return>
       
   882 		<uid>1 2 3 4</uid>
       
   883 	</actionresult>
       
   884 </action>
       
   885 <action>
       
   886 	<actionname>4.1.3.8b,Get the trust for CAX1</actionname>
       
   887 	<actiontype>gettrusters</actiontype>
       
   888 	<actionbody>
       
   889 		<label>CAX1</label>
       
   890 	</actionbody>
       
   891 	<actionresult>
       
   892 		<return>KErrNone</return>
       
   893 		<trust>0</trust>
       
   894 	</actionresult>
       
   895 </action>
       
   896 ///////////////////////////////////////////////////////////
       
   897 <action>
       
   898 	<actionname>4.1.3.1c,Set applications to the CAX1 certificate</actionname>
       
   899 	<actiontype>setapplications</actiontype>
       
   900 	<actionbody>
       
   901 		<label>CAX1</label>
       
   902 		<uid>1 2 3</uid>
       
   903 	</actionbody>
       
   904 	<actionresult>
       
   905 		<return>KErrNone</return>
       
   906 	</actionresult>
       
   907 </action>
       
   908 <action>
       
   909 	<actionname>4.1.3.2c,set the trust for CAX1</actionname>
       
   910 	<actiontype>settrust</actiontype>
       
   911 	<actionbody>
       
   912 		<label>CAX1</label>
       
   913 		<trust>1</trust>
       
   914 	</actionbody>
       
   915 	<actionresult>
       
   916 		<return>KErrNone</return>
       
   917 	</actionresult>
       
   918 </action>
       
   919 <action>
       
   920 	<actionname>4.1.3.7c,Get applications for CAX1</actionname>
       
   921 	<actiontype>getapplications</actiontype>
       
   922 	<actionbody>
       
   923 		<label>CAX1</label>
       
   924 	</actionbody>
       
   925 	<actionresult>
       
   926 		<return>KErrNone</return>
       
   927 		<uid>1 2 3</uid>
       
   928 	</actionresult>
       
   929 </action>
       
   930 <action>
       
   931 	<actionname>4.1.3.8c,Get the trust for CAX1</actionname>
       
   932 	<actiontype>gettrusters</actiontype>
       
   933 	<actionbody>
       
   934 		<label>CAX1</label>
       
   935 	</actionbody>
       
   936 	<actionresult>
       
   937 		<return>KErrNone</return>
       
   938 		<trust>1</trust>
       
   939 	</actionresult>
       
   940 </action>
       
   941 ///////////////////////////////////////////////////////////
       
   942 <action>
       
   943 	<actionname>4.1.3.1d,Fail to set applications to the CAX1 certificate</actionname>
       
   944 	<actiontype>setapplications</actiontype>
       
   945 	<actionbody>
       
   946 		<label>CAX1</label>
       
   947 		<uid>1 2 3 4 5</uid>
       
   948 	</actionbody>
       
   949 	<actionresult>
       
   950 		<return>KErrArgument</return>
       
   951 	</actionresult>
       
   952 </action>
       
   953 <action>
       
   954 	<actionname>4.1.3.7d,Get applications for CAX1 from previous setting</actionname>
       
   955 	<actiontype>getapplications</actiontype>
       
   956 	<actionbody>
       
   957 		<label>CAX1</label>
       
   958 	</actionbody>
       
   959 	<actionresult>
       
   960 		<return>KErrNone</return>
       
   961 		<uid>1 2 3</uid>
       
   962 	</actionresult>
       
   963 </action>
       
   964 <action>
       
   965 	<actionname>4.1.3.2c,set the trust for CAX1</actionname>
       
   966 	<actiontype>settrust</actiontype>
       
   967 	<actionbody>
       
   968 		<label>CAX1</label>
       
   969 		<trust>1</trust>
       
   970 	</actionbody>
       
   971 	<actionresult>
       
   972 		<return>KErrNone</return>
       
   973 	</actionresult>
       
   974 </action>
       
   975 <action>
       
   976 	<actionname>4.1.3.1e,Set applications to the CAX1 certificate</actionname>
       
   977 	<actiontype>setapplications</actiontype>
       
   978 	<actionbody>
       
   979 		<label>CAX1</label>
       
   980 		<uid>1 2 3 4</uid>
       
   981 	</actionbody>
       
   982 	<actionresult>
       
   983 		<return>KErrNone</return>
       
   984 	</actionresult>
       
   985 </action>
       
   986 <action>
       
   987 	<actionname>4.1.3.1f,Fail to set applications to the CAX1 certificate</actionname>
       
   988 	<actiontype>setapplications</actiontype>
       
   989 	<actionbody>
       
   990 		<label>CAX1</label>
       
   991 		<uid>1 2 3 4 5 7 8 9</uid>
       
   992 	</actionbody>
       
   993 	<actionresult>
       
   994 		<return>KErrArgument</return>
       
   995 	</actionresult>
       
   996 </action>
       
   997 <action>
       
   998 	<actionname>4.1.3.7f,Get applications for CAX1 from previous setting</actionname>
       
   999 	<actiontype>getapplications</actiontype>
       
  1000 	<actionbody>
       
  1001 		<label>CAX1</label>
       
  1002 	</actionbody>
       
  1003 	<actionresult>
       
  1004 		<return>KErrNone</return>
       
  1005 		<uid>1 2 3 4</uid>
       
  1006 	</actionresult>
       
  1007 </action>
       
  1008 ///////////////////////////////////////////////////////////
       
  1009 //4.1.4 Successful addition and retrieval of user certificates
       
  1010 <action>
       
  1011 	<actionname>4.1.4.1, Add certificate rsacert1 ***NEW***</actionname>
       
  1012 	<actiontype>addcert</actiontype>
       
  1013 	<actionbody>
       
  1014 		<format>X509</format>
       
  1015 		<label>rsacert1</label>
       
  1016 		<issuerkey></issuerkey>
       
  1017 		<subjectkey>4808f03892fe836e78d048bcefcca4a37913d886</subjectkey>
       
  1018 		<certstore>0</certstore>
       
  1019 		<certfile>c:\unifiedcertstore2\rsacert1.cer</certfile>
       
  1020 		<certowner>user</certowner>
       
  1021 	</actionbody>
       
  1022 	<actionresult>
       
  1023 		<return>KErrNone</return>
       
  1024 	</actionresult>
       
  1025 </action>
       
  1026 
       
  1027 
       
  1028 <action>
       
  1029 	<actionname>4.1.4.2,Add the certificate rsacert2 ***NEW***</actionname>
       
  1030 	<actiontype>addcert</actiontype>
       
  1031 	<actionbody>
       
  1032 		<format>X509</format>
       
  1033 		<label>rsacert2</label>
       
  1034 		<issuerkey></issuerkey>
       
  1035 		<subjectkey>dc448293c7c3ed68c9fabd37db43007136ae2ef4</subjectkey>
       
  1036 		<certstore>0</certstore>
       
  1037 		<certfile>c:\unifiedcertstore2\rsacert2.cer</certfile>
       
  1038 		<certowner>user</certowner>
       
  1039 	</actionbody>
       
  1040 	<actionresult>
       
  1041 		<return>KErrNone</return>
       
  1042 	</actionresult>
       
  1043 </action>
       
  1044 
       
  1045 <action>
       
  1046 	<actionname>4.1.2.3,Add the certificate rsacert3 ***NEW***</actionname>
       
  1047 	<actiontype>addcert</actiontype>
       
  1048 	<actionbody>
       
  1049 		<format>X509</format>
       
  1050 		<label>rsacert3</label>
       
  1051 		<issuerkey></issuerkey>
       
  1052 		<subjectkey>0b2e1d1d4dbae5fc59a02a5115d2c2910fa796e0</subjectkey>
       
  1053 		<certstore>0</certstore>
       
  1054 		<certfile>c:\unifiedcertstore2\rsacert3.cer</certfile>
       
  1055 		<certowner>user</certowner>
       
  1056 	</actionbody>
       
  1057 	<actionresult>
       
  1058 		<return>KErrNone</return>
       
  1059 	</actionresult>
       
  1060 </action>
       
  1061 
       
  1062 <action>
       
  1063 	<actionname>4.1.4.4.a,Get the list of certificates</actionname>
       
  1064 	<actiontype>listcert</actiontype>
       
  1065 	<actionbody>
       
  1066 		<filter>
       
  1067 			<ownertype>ca</ownertype>
       
  1068 		</filter>
       
  1069 	</actionbody>
       
  1070 	<actionresult>
       
  1071 		<return>KErrNone</return>
       
  1072 		<CCTCertInfo><label>CAX1</label></CCTCertInfo>
       
  1073 		<CCTCertInfo><label>CAX2</label></CCTCertInfo>
       
  1074 		<CCTCertInfo><label>CAX3</label></CCTCertInfo>
       
  1075 		<CCTCertInfo><label>CAW1</label></CCTCertInfo>
       
  1076 		<CCTCertInfo><label>CAW2</label></CCTCertInfo>
       
  1077 		<CCTCertInfo><label>CAW3</label></CCTCertInfo>
       
  1078 	</actionresult>
       
  1079 </action>
       
  1080 
       
  1081 <action>
       
  1082 	<actionname>4.1.4.4.b,Get the list of certificates ***NEW***</actionname>
       
  1083 	<actiontype>listcert</actiontype>
       
  1084 	<actionbody>
       
  1085 		<filter>
       
  1086 			<ownertype>user</ownertype>
       
  1087 		</filter>
       
  1088 	</actionbody>
       
  1089 	<actionresult>
       
  1090 		<return>KErrNone</return>
       
  1091 		<CCTCertInfo><label>rsacert1</label></CCTCertInfo>
       
  1092 		<CCTCertInfo><label>rsacert2</label></CCTCertInfo>
       
  1093 		<CCTCertInfo><label>rsacert3</label></CCTCertInfo>
       
  1094 	</actionresult>
       
  1095 </action>
       
  1096 
       
  1097 <action>
       
  1098 	<actionname>4.1.4.4.c,Get the list of certificates searching by DN</actionname>
       
  1099 	<actiontype>listcert</actiontype>
       
  1100 	<actionbody>
       
  1101 		<filter>
       
  1102 			<ownertype>user</ownertype>
       
  1103 		</filter>
       
  1104 		<issuerdn>c:\unifiedcertstore2\rsacert1.cer</issuerdn>
       
  1105 	</actionbody>
       
  1106 	<actionresult>
       
  1107 		<return>KErrNone</return>
       
  1108 		// All 3 user certs have same issuer
       
  1109 		<CCTCertInfo><label>rsacert1</label></CCTCertInfo>
       
  1110 		<CCTCertInfo><label>rsacert2</label></CCTCertInfo>
       
  1111 		<CCTCertInfo><label>rsacert3</label></CCTCertInfo>
       
  1112 	</actionresult>
       
  1113 </action>
       
  1114 
       
  1115 <action>
       
  1116 	<actionname>4.1.4.4.c,Get the list of certificates searching by DNs</actionname>
       
  1117 	<actiontype>listcert</actiontype>
       
  1118 	<actionbody>
       
  1119 		<filter>
       
  1120 			<ownertype>user</ownertype>
       
  1121 		</filter>
       
  1122 		<issuerdn>c:\unifiedcertstore2\CAX1.cer</issuerdn>
       
  1123 	</actionbody>
       
  1124 	<actionresult>
       
  1125 		<return>KErrNone</return>
       
  1126 		// No user certs with this DN expected
       
  1127 	</actionresult>
       
  1128 </action>
       
  1129 
       
  1130 <action>
       
  1131 	<actionname>4.1.4.4.e,Retrieve rsacert1 cert</actionname>
       
  1132 	<actiontype>retrieve</actiontype>
       
  1133 	<actionbody>
       
  1134 		<label>rsacert1</label>
       
  1135 	</actionbody>
       
  1136 	<actionresult>
       
  1137 		<return>KErrNone</return>
       
  1138 	</actionresult>
       
  1139 </action>
       
  1140 
       
  1141 <action>
       
  1142 	<actionname>No Test,Deleting the certificate CAX1</actionname>
       
  1143 	<actiontype>deletecert</actiontype>
       
  1144 	<actionbody>
       
  1145 		<certtype>ca</certtype>
       
  1146 		<label>CAX1</label>
       
  1147 	</actionbody>
       
  1148 	<actionresult>
       
  1149 		<return>KErrNone</return>
       
  1150 	</actionresult>
       
  1151 </action>
       
  1152 
       
  1153 <action>
       
  1154 	<actionname>No Test,Deleting the certificate CAX2</actionname>
       
  1155 	<actiontype>deletecert</actiontype>
       
  1156 	<actionbody>
       
  1157 		<certtype>ca</certtype>
       
  1158 		<label>CAX2</label>
       
  1159 	</actionbody>
       
  1160 	<actionresult>
       
  1161 		<return>KErrNone</return>
       
  1162 	</actionresult>
       
  1163 </action>
       
  1164 
       
  1165 <action>
       
  1166 	<actionname>No Test,Deleting the certificate CAX3</actionname>
       
  1167 	<actiontype>deletecert</actiontype>
       
  1168 	<actionbody>
       
  1169 		<certtype>ca</certtype>
       
  1170 		<label>CAX3</label>
       
  1171 	</actionbody>
       
  1172 	<actionresult>
       
  1173 		<return>KErrNone</return>
       
  1174 	</actionresult>
       
  1175 </action>
       
  1176 
       
  1177 <action>
       
  1178 	<actionname>No Test,Deleting the certificate CAW1</actionname>
       
  1179 	<actiontype>deletecert</actiontype>
       
  1180 	<actionbody>
       
  1181 		<certtype>ca</certtype>
       
  1182 		<label>CAW1</label>
       
  1183 	</actionbody>
       
  1184 	<actionresult>
       
  1185 		<return>KErrNone</return>
       
  1186 	</actionresult>
       
  1187 </action>
       
  1188 
       
  1189 <action>
       
  1190 	<actionname>No Test,Deleting the certificate CAW2</actionname>
       
  1191 	<actiontype>deletecert</actiontype>
       
  1192 	<actionbody>
       
  1193 		<certtype>ca</certtype>
       
  1194 		<label>CAW2</label>
       
  1195 	</actionbody>
       
  1196 	<actionresult>
       
  1197 		<return>KErrNone</return>
       
  1198 	</actionresult>
       
  1199 </action>
       
  1200 
       
  1201 <action>
       
  1202 	<actionname>No Test,Deleting the certificate CAW3</actionname>
       
  1203 	<actiontype>deletecert</actiontype>
       
  1204 	<actionbody>
       
  1205 		<certtype>ca</certtype>
       
  1206 		<label>CAW3</label>
       
  1207 	</actionbody>
       
  1208 	<actionresult>
       
  1209 		<return>KErrNone</return>
       
  1210 	</actionresult>
       
  1211 </action>
       
  1212 
       
  1213 <action>
       
  1214 	<actionname>No Test,Deleting the certificate rsacert1 ***NEW***</actionname>
       
  1215 	<actiontype>deletecert</actiontype>
       
  1216 	<actionbody>
       
  1217 		<certtype>user</certtype>
       
  1218 		<label>rsacert1</label>
       
  1219 	</actionbody>
       
  1220 	<actionresult>
       
  1221 		<return>KErrNone</return>
       
  1222 	</actionresult>
       
  1223 </action>
       
  1224 
       
  1225 <action>
       
  1226 	<actionname>No Test,Deleting the certificate rsacert2 ***NEW***</actionname>
       
  1227 	<actiontype>deletecert</actiontype>
       
  1228 	<actionbody>
       
  1229 		<certtype>user</certtype>
       
  1230 		<label>rsacert2</label>
       
  1231 	</actionbody>
       
  1232 	<actionresult>
       
  1233 		<return>KErrNone</return>
       
  1234 	</actionresult>
       
  1235 </action>
       
  1236 
       
  1237 <action>
       
  1238 	<actionname>No Test,Deleting the certificate rsacert3 ***NEW***</actionname>
       
  1239 	<actiontype>deletecert</actiontype>
       
  1240 	<actionbody>
       
  1241 		<certtype>user</certtype>
       
  1242 		<label>rsacert3</label>
       
  1243 	</actionbody>
       
  1244 	<actionresult>
       
  1245 		<return>KErrNone</return>
       
  1246 	</actionresult>
       
  1247 </action>
       
  1248 
       
  1249 <action>
       
  1250 	<actionname>No Test,Deleting the certificate store manager</actionname>
       
  1251 	<actiontype>delete</actiontype>
       
  1252 	<actionbody></actionbody>
       
  1253 	<actionresult>
       
  1254 		<return>KErrNone</return>
       
  1255 	</actionresult>
       
  1256 </action>
       
  1257 
       
  1258 //7.1 Calling functions without initialising store
       
  1259 <action>
       
  1260 	<actionname>No test,Creating a certificate store manager</actionname>
       
  1261 	<actiontype>onlycreate</actiontype>
       
  1262 	<actionbody>
       
  1263 		<mode>write</mode>
       
  1264 	</actionbody>
       
  1265 	<actionresult>
       
  1266 		<return>KErrNone</return>
       
  1267 	</actionresult>
       
  1268 </action>
       
  1269 
       
  1270 <action>
       
  1271 	<actionname>7.1.1,Get the list of CA certificates</actionname>
       
  1272 	<actiontype>listcert</actiontype>
       
  1273 	<actionbody>
       
  1274 		<filter>
       
  1275 			<ownertype>ca</ownertype>
       
  1276 		</filter>
       
  1277 	</actionbody>
       
  1278 	<actionresult>
       
  1279 		<return>KErrNotReady</return>
       
  1280 	</actionresult>
       
  1281 </action>
       
  1282 
       
  1283 <action>
       
  1284 	<actionname>7.1.2,Get the list of user certificates</actionname>
       
  1285 	<actiontype>listcert</actiontype>
       
  1286 	<actionbody>
       
  1287 		<filter>
       
  1288 			<ownertype>user</ownertype>
       
  1289 		</filter>
       
  1290 	</actionbody>
       
  1291 	<actionresult>
       
  1292 		<return>KErrNotReady</return>
       
  1293 	</actionresult>
       
  1294 </action>
       
  1295 
       
  1296 <action>
       
  1297 	<actionname>No test,Deleting the certificate store manager</actionname>
       
  1298 	<actiontype>delete</actiontype>
       
  1299 	<actionbody></actionbody>
       
  1300 	<actionresult>
       
  1301 		<return>KErrNone</return>
       
  1302 	</actionresult>
       
  1303 </action>
       
  1304 
       
  1305 
       
  1306 //7.2 Trust settings for CA certificates
       
  1307 <action>
       
  1308 	<actionname>No Test,Opening a certificate store manager</actionname>
       
  1309 	<actiontype>init</actiontype>
       
  1310 	<actionbody>
       
  1311 		<mode>write</mode>
       
  1312 	</actionbody>
       
  1313 	<actionresult>
       
  1314 		<return>KErrNone</return>
       
  1315 	</actionresult>
       
  1316 </action>
       
  1317 
       
  1318 <action>
       
  1319 	<actionname>7.2.1.a,Add the certificate CAX1</actionname>
       
  1320 	<actiontype>addcert</actiontype>
       
  1321 	<actionbody>
       
  1322 		<format>X509</format>
       
  1323 		<label>CAX1</label>
       
  1324 		<issuerkey></issuerkey>
       
  1325 		<subjectkey></subjectkey>
       
  1326 		<certstore>0</certstore>
       
  1327 		<certfile>c:\unifiedcertstore2\CAX1.cer</certfile>
       
  1328 		<certowner>ca</certowner>
       
  1329 	</actionbody>
       
  1330 	<actionresult>
       
  1331 		<return>KErrNone</return>
       
  1332 	</actionresult>
       
  1333 </action>
       
  1334 
       
  1335 <action>
       
  1336 	<actionname>7.2.1.b,Get the list of certificates</actionname>
       
  1337 	<actiontype>listcert</actiontype>
       
  1338 	<actionbody>
       
  1339 		<filter>
       
  1340 			<ownertype>ca</ownertype>
       
  1341 		</filter>
       
  1342 	</actionbody>
       
  1343 	<actionresult>
       
  1344 		<return>KErrNone</return>
       
  1345 		<CCTCertInfo><label>CAX1</label></CCTCertInfo>
       
  1346 	</actionresult>
       
  1347 </action>
       
  1348 
       
  1349 <action>
       
  1350 	<actionname>7.2.1.c,Set applications to the CAX1 certificate</actionname>
       
  1351 	<actiontype>setapplications</actiontype>
       
  1352 	<actionbody>
       
  1353 		<label>CAX1</label>
       
  1354 		<uid>7</uid>
       
  1355 	</actionbody>
       
  1356 	<actionresult>
       
  1357 		<return>KErrArgument</return>
       
  1358 	</actionresult>
       
  1359 </action>
       
  1360 
       
  1361 //7.3 Supplying bad user certificates
       
  1362 <action>
       
  1363 	<actionname>7.3.1,Add the certificate U5K3</actionname>
       
  1364 	<actiontype>addcert</actiontype>
       
  1365 	<actionbody>
       
  1366 		<format>X509</format>
       
  1367 		<label>U5K3</label>
       
  1368 		<issuerkey></issuerkey>
       
  1369 		<subjectkey>eeda2c6da84f17519ee837eadb8a5289dadfbb26</subjectkey>
       
  1370 		<certstore>0</certstore>
       
  1371 		<certfile>c:\unifiedcertstore2\U5K3.crt</certfile>
       
  1372 		<certowner>user</certowner>
       
  1373 	</actionbody>
       
  1374 	<actionresult>
       
  1375 		<return>KErrPrivateKeyNotFound</return>
       
  1376 	</actionresult>
       
  1377 </action>
       
  1378 
       
  1379 <action>
       
  1380 	<actionname>7.3.2,Add the certificate U6K5 with wrong subject key</actionname>
       
  1381 	<actiontype>addcert</actiontype>
       
  1382 	<actionbody>
       
  1383 		<format>X509</format>
       
  1384 		<label>U6K5</label>
       
  1385 		<issuerkey></issuerkey>
       
  1386 		<subjectkey>eeda2c6da84f17519ee837eadb8a5289dadf0000</subjectkey>
       
  1387 		<certstore>0</certstore>
       
  1388 		<certfile>c:\unifiedcertstore2\U6K5.crt</certfile>
       
  1389 		<certowner>user</certowner>
       
  1390 	</actionbody>
       
  1391 	<actionresult>
       
  1392 		<return>KErrArgument</return>
       
  1393 	</actionresult>
       
  1394 </action>
       
  1395 
       
  1396 <action>
       
  1397 	<actionname>7.3.3,Add the certificate URL3K5</actionname>
       
  1398 	<actiontype>addcert</actiontype>
       
  1399 	<actionbody>
       
  1400 		<format>X509URL</format>
       
  1401 		<label>URL3K5</label>
       
  1402 		<issuerkey></issuerkey>
       
  1403 		<subjectkey>eeda2c6da84f17519ee837eadb8a5289dadf0000</subjectkey>
       
  1404 		<certstore>0</certstore>
       
  1405 		<certfile>c:\unifiedcertstore2\URL3K5.cer</certfile>
       
  1406 		<certowner>user</certowner>
       
  1407 	</actionbody>
       
  1408 	<actionresult>
       
  1409 		<return>KErrPrivateKeyNotFound</return>
       
  1410 	</actionresult>
       
  1411 </action>
       
  1412 
       
  1413 <action>
       
  1414 	<actionname>No Test,Deleting the certificate CAX1</actionname>
       
  1415 	<actiontype>deletecert</actiontype>
       
  1416 	<actionbody>
       
  1417 		<certtype>ca</certtype>
       
  1418 		<label>CAX1</label>
       
  1419 	</actionbody>
       
  1420 	<actionresult>
       
  1421 		<return>KErrNone</return>
       
  1422 	</actionresult>
       
  1423 </action>
       
  1424 
       
  1425 //7.4
       
  1426 <action>
       
  1427 	<actionname>7.4.1.a,Add the certificate CAW1</actionname>
       
  1428 	<actiontype>addcert</actiontype>
       
  1429 	<actionbody>
       
  1430 		<format>WTLS</format>
       
  1431 		<label>CAW1</label>
       
  1432 		<issuerkey></issuerkey>
       
  1433 		<subjectkey></subjectkey>
       
  1434 		<certstore>0</certstore>
       
  1435 		<certfile>c:\unifiedcertstore2\CAW1.cer</certfile>
       
  1436 		<certowner>ca</certowner>
       
  1437 	</actionbody>
       
  1438 	<actionresult>
       
  1439 		<return>KErrNone</return>
       
  1440 	</actionresult>
       
  1441 </action>
       
  1442 
       
  1443 <action>
       
  1444 	<actionname>7.4.1.b,Add the certificate CAW1</actionname>
       
  1445 	<actiontype>addcert</actiontype>
       
  1446 	<actionbody>
       
  1447 		<format>WTLS</format>
       
  1448 		<label>CAW1</label>
       
  1449 		<issuerkey></issuerkey>
       
  1450 		<subjectkey></subjectkey>
       
  1451 		<certstore>0</certstore>
       
  1452 		<certfile>c:\unifiedcertstore2\CAW1.cer</certfile>
       
  1453 		<certowner>ca</certowner>
       
  1454 	</actionbody>
       
  1455 	<actionresult>
       
  1456 		<return>KErrBadName</return>
       
  1457 	</actionresult>
       
  1458 </action>
       
  1459 
       
  1460 <action>
       
  1461 	<actionname>7.4.2.a,Add the certificate CAX1</actionname>
       
  1462 	<actiontype>addcert</actiontype>
       
  1463 	<actionbody>
       
  1464 		<format>X509</format>
       
  1465 		<label>CAX1</label>
       
  1466 		<issuerkey></issuerkey>
       
  1467 		<subjectkey></subjectkey>
       
  1468 		<certstore>0</certstore>
       
  1469 		<certfile>c:\unifiedcertstore2\CAX1.cer</certfile>
       
  1470 		<certowner>ca</certowner>
       
  1471 	</actionbody>
       
  1472 	<actionresult>
       
  1473 		<return>KErrNone</return>
       
  1474 	</actionresult>
       
  1475 </action>
       
  1476 
       
  1477 <action>
       
  1478 	<actionname>7.4.2.b,Add the certificate CAX1</actionname>
       
  1479 	<actiontype>addcert</actiontype>
       
  1480 	<actionbody>
       
  1481 		<format>X509</format>
       
  1482 		<label>CAX1</label>
       
  1483 		<issuerkey></issuerkey>
       
  1484 		<subjectkey></subjectkey>
       
  1485 		<certstore>0</certstore>
       
  1486 		<certfile>c:\unifiedcertstore2\CAX1.cer</certfile>
       
  1487 		<certowner>ca</certowner>
       
  1488 	</actionbody>
       
  1489 	<actionresult>
       
  1490 		<return>KErrBadName</return>
       
  1491 	</actionresult>
       
  1492 </action>
       
  1493 
       
  1494 
       
  1495 <action>
       
  1496 	<actionname>7.4.3.a, Add the certificate rsacert3 ***NEW***</actionname>
       
  1497 	<actiontype>addcert</actiontype>
       
  1498 	<actionbody>
       
  1499 		<format>X509</format>
       
  1500 		<label>rsacert3</label>
       
  1501 		<subjectkeyid>0b2e1d1d4dbae5fc59a02a5115d2c2910fa796e0</subjectkeyid>
       
  1502 		<certstore>0</certstore>
       
  1503 		<certfile>c:\unifiedcertstore2\rsacert3.cer</certfile>
       
  1504 		<certowner>user</certowner>
       
  1505 	</actionbody>
       
  1506 	<actionresult>
       
  1507 		<return>KErrNone</return>
       
  1508 	</actionresult>
       
  1509 </action>
       
  1510 
       
  1511 <action>
       
  1512 	<actionname>7.4.3.b, Add the certificate rsacert3 ***NEW***</actionname>
       
  1513 	<actiontype>addcert</actiontype>
       
  1514 	<actionbody>
       
  1515 		<format>X509</format>
       
  1516 		<label>rsacert3</label>
       
  1517 		<subjectkeyid>0b2e1d1d4dbae5fc59a02a5115d2c2910fa796e0</subjectkeyid>
       
  1518 		<certstore>0</certstore>
       
  1519 		<certfile>c:\unifiedcertstore2\rsacert3.cer</certfile>
       
  1520 		<certowner>user</certowner>
       
  1521 	</actionbody>
       
  1522 	<actionresult>
       
  1523 		<return>KErrBadName</return>
       
  1524 	</actionresult>
       
  1525 </action>
       
  1526 
       
  1527 <action>
       
  1528 	<actionname>No Test,Deleting the certificate CAX1</actionname>
       
  1529 	<actiontype>deletecert</actiontype>
       
  1530 	<actionbody>
       
  1531 		<certtype>ca</certtype>
       
  1532 		<label>CAX1</label>
       
  1533 	</actionbody>
       
  1534 	<actionresult>
       
  1535 		<return>KErrNone</return>
       
  1536 	</actionresult>
       
  1537 </action>
       
  1538 
       
  1539 <action>
       
  1540 	<actionname>No Test,Deleting the certificate CAW1</actionname>
       
  1541 	<actiontype>deletecert</actiontype>
       
  1542 	<actionbody>
       
  1543 		<certtype>ca</certtype>
       
  1544 		<label>CAW1</label>
       
  1545 	</actionbody>
       
  1546 	<actionresult>
       
  1547 		<return>KErrNone</return>
       
  1548 	</actionresult>
       
  1549 </action>
       
  1550 
       
  1551 <action>
       
  1552 	<actionname>No Test,Deleting the certificate rsacert3 ***NEW***</actionname>
       
  1553 	<actiontype>deletecert</actiontype>
       
  1554 	<actionbody>
       
  1555 		<certtype>user</certtype>
       
  1556 		<label>rsacert3</label>
       
  1557 	</actionbody>
       
  1558 	<actionresult>
       
  1559 		<return>KErrNone</return>
       
  1560 	</actionresult>
       
  1561 </action>
       
  1562 
       
  1563 //7.5 Loading certificates
       
  1564 <action>
       
  1565 	<actionname>7.5.1.a,Add the certificate CAX1</actionname>
       
  1566 	<actiontype>addcert</actiontype>
       
  1567 	<actionbody>
       
  1568 		<format>X509</format>
       
  1569 		<label>CAX1</label>
       
  1570 		<issuerkey></issuerkey>
       
  1571 		<subjectkey></subjectkey>
       
  1572 		<certstore>0</certstore>
       
  1573 		<certfile>c:\unifiedcertstore2\CAX1.cer</certfile>
       
  1574 		<certowner>ca</certowner>
       
  1575 	</actionbody>
       
  1576 	<actionresult>
       
  1577 		<return>KErrNone</return>
       
  1578 	</actionresult>
       
  1579 </action>
       
  1580 
       
  1581 <action>
       
  1582 	<actionname>7.5.1.b,Add the certificate CAW1</actionname>
       
  1583 	<actiontype>addcert</actiontype>
       
  1584 	<actionbody>
       
  1585 		<format>WTLS</format>
       
  1586 		<label>CAW1</label>
       
  1587 		<issuerkey></issuerkey>
       
  1588 		<subjectkey></subjectkey>
       
  1589 		<certstore>0</certstore>
       
  1590 		<certfile>c:\unifiedcertstore2\CAW1.cer</certfile>
       
  1591 		<certowner>ca</certowner>
       
  1592 	</actionbody>
       
  1593 	<actionresult>
       
  1594 		<return>KErrNone</return>
       
  1595 	</actionresult>
       
  1596 </action>
       
  1597 
       
  1598 <action>
       
  1599 	<actionname>7.5.1.c,Add the certificate URL1rsa1  ***NEW***</actionname>
       
  1600 	<actiontype>addcert</actiontype>
       
  1601 	<actionbody>
       
  1602 		<format>X509URL</format>
       
  1603 		<label>URL1rsa1</label>
       
  1604 		<issuerkey></issuerkey>
       
  1605 		<subjectkey>4808f03892fe836e78d048bcefcca4a37913d886</subjectkey>
       
  1606 		<certstore>0</certstore>
       
  1607 		<certfile>c:\unifiedcertstore2\URL1K1.cer</certfile>
       
  1608 		<certowner>user</certowner>
       
  1609 	</actionbody>
       
  1610 	<actionresult>
       
  1611 		<return>KErrNone</return>
       
  1612 	</actionresult>
       
  1613 </action>
       
  1614 
       
  1615 <action>
       
  1616 	<actionname>7.5.1.d,Add the certificate URL2rsa2  ***NEW***</actionname>
       
  1617 	<actiontype>addcert</actiontype>
       
  1618 	<actionbody>
       
  1619 		<format>X509URL</format>
       
  1620 		<label>URL2rsa2</label>
       
  1621 		<issuerkey></issuerkey>
       
  1622 		<subjectkey>dc448293c7c3ed68c9fabd37db43007136ae2ef4</subjectkey>
       
  1623 		<certstore>0</certstore>
       
  1624 		<certfile>c:\unifiedcertstore2\URL2K2.cer</certfile>
       
  1625 		<certowner>user</certowner>
       
  1626 	</actionbody>
       
  1627 	<actionresult>
       
  1628 		<return>KErrNone</return>
       
  1629 	</actionresult>
       
  1630 </action>
       
  1631 
       
  1632 <action>
       
  1633 	<actionname>7.5.1.e,List URL certificates</actionname>
       
  1634 	<actiontype>listcert</actiontype>
       
  1635 	<actionbody>
       
  1636 		<filter>
       
  1637 			<ownertype>user</ownertype>
       
  1638 			<formatflags>X509URL</formatflags>
       
  1639 		</filter>
       
  1640 	</actionbody>
       
  1641 	<actionresult>
       
  1642 		<return>KErrNone</return>
       
  1643 		<CCTCertInfo><label>URL1rsa1</label></CCTCertInfo>
       
  1644 		<CCTCertInfo><label>URL2rsa2</label></CCTCertInfo>
       
  1645 	</actionresult>
       
  1646 </action>
       
  1647 
       
  1648 <action>
       
  1649 	<actionname>7.5.1.f,Retrieve URL1rsa1 cert</actionname>
       
  1650 	<actiontype>retrieve</actiontype>
       
  1651 	<actionbody>
       
  1652 		<label>URL1rsa1</label>
       
  1653 	</actionbody>
       
  1654 	<actionresult>
       
  1655 		<return>KErrNone</return>
       
  1656 	</actionresult>
       
  1657 </action>
       
  1658 
       
  1659 <action>
       
  1660 	<actionname>7.5.2,Deleting and retrieving the certificate CAX1</actionname>
       
  1661 	<actiontype>deleteandretrievecacert</actiontype>
       
  1662 	<actionbody>
       
  1663 		<label>CAX1</label>
       
  1664 	</actionbody>
       
  1665 	<actionresult>
       
  1666 		<return>KErrNotFound</return>
       
  1667 	</actionresult>
       
  1668 </action>
       
  1669 
       
  1670 <action>
       
  1671 	<actionname>7.5.3,Deleting and retrieving the certificate CAW1</actionname>
       
  1672 	<actiontype>deleteandretrievecacert</actiontype>
       
  1673 	<actionbody>
       
  1674 		<label>CAW1</label>
       
  1675 	</actionbody>
       
  1676 	<actionresult>
       
  1677 		<return>KErrNotFound</return>
       
  1678 	</actionresult>
       
  1679 </action>
       
  1680 
       
  1681 <action>
       
  1682 	<actionname>7.5.4,Deleting and retrieving the certificate U1K1</actionname>
       
  1683 	<actiontype>deleteandretrieveusercert</actiontype>
       
  1684 	<actionbody>
       
  1685 		<label>U1K1</label>
       
  1686 	</actionbody>
       
  1687 	<actionresult>
       
  1688 		<return>KErrNotFound</return>
       
  1689 	</actionresult>
       
  1690 </action>
       
  1691 
       
  1692 <action>
       
  1693 	<actionname>7.5.5,Deleting and retrieving the certificate URL2rsa2</actionname>
       
  1694 	<actiontype>deleteandretrieveusercert</actiontype>
       
  1695 	<actionbody>
       
  1696 		<label>URL2rsa2</label>
       
  1697 	</actionbody>
       
  1698 	<actionresult>
       
  1699 		<return>KErrNotFound</return>
       
  1700 	</actionresult>
       
  1701 </action>
       
  1702 
       
  1703 <action>
       
  1704 	<actionname>7.5.5,Deleting and retrieving the certificate URL1rsa1</actionname>
       
  1705 	<actiontype>deleteandretrieveusercert</actiontype>
       
  1706 	<actionbody>
       
  1707 		<label>URL1rsa1</label>
       
  1708 	</actionbody>
       
  1709 	<actionresult>
       
  1710 		<return>KErrNotFound</return>
       
  1711 	</actionresult>
       
  1712 </action>
       
  1713 
       
  1714 
       
  1715 <action>
       
  1716 	<actionname>No Test,Deleting the writable certificate store manager</actionname>
       
  1717 	<actiontype>delete</actiontype>
       
  1718 	<actionbody></actionbody>
       
  1719 	<actionresult>
       
  1720 		<return>KErrNone</return>
       
  1721 	</actionresult>
       
  1722 </action>
       
  1723 
       
  1724 // Start of tests 7.6
       
  1725 <action>
       
  1726 	<actionname>No Test,Opening a certificate store manager</actionname>
       
  1727 	<actiontype>init</actiontype>
       
  1728 	<actionbody>
       
  1729 		<mode>write</mode>
       
  1730 	</actionbody>
       
  1731 	<actionresult>
       
  1732 		<return>KErrNone</return>
       
  1733 	</actionresult>
       
  1734 </action>
       
  1735 
       
  1736 <action>
       
  1737 	<actionname>No test</actionname>
       
  1738 	<actiontype>addcert</actiontype>
       
  1739 	<actionbody>
       
  1740 		<format>X509</format>
       
  1741 		<label>CAX1</label>
       
  1742 		<issuerkey></issuerkey>
       
  1743 		<subjectkey></subjectkey>
       
  1744 		<certstore>0</certstore>
       
  1745 		<certfile>c:\unifiedcertstore2\CAX1.cer</certfile>
       
  1746 		<certowner>ca</certowner>
       
  1747 	</actionbody>
       
  1748 	<actionresult>
       
  1749 		<return>KErrNone</return>
       
  1750 	</actionresult>
       
  1751 </action>
       
  1752 
       
  1753 <action>
       
  1754 	<actionname>No Test,Deleting the writable certificate store manager</actionname>
       
  1755 	<actiontype>delete</actiontype>
       
  1756 	<actionbody></actionbody>
       
  1757 	<actionresult>
       
  1758 		<return>KErrNone</return>
       
  1759 	</actionresult>
       
  1760 </action>
       
  1761 
       
  1762 <action>
       
  1763 	<actionname>No Test,Opening a certificate store manager</actionname>
       
  1764 	<actiontype>init</actiontype>
       
  1765 	<actionbody>
       
  1766 		<mode>read</mode>
       
  1767 	</actionbody>
       
  1768 	<actionresult>
       
  1769 		<return>KErrNone</return>
       
  1770 	</actionresult>
       
  1771 </action>
       
  1772 
       
  1773 <action>
       
  1774 	<actionname>7.6.1,Deleting the certificate CAX1</actionname>
       
  1775 	<actiontype>deletecert</actiontype>
       
  1776 	<actionbody>
       
  1777 		<certtype>ca</certtype>
       
  1778 		<label>CAX1</label>
       
  1779 	</actionbody>
       
  1780 	<actionresult>
       
  1781 		<return>KErrAccessDenied</return>
       
  1782 	</actionresult>
       
  1783 </action>
       
  1784 
       
  1785 <action>
       
  1786 	<actionname>7.6.2,Set applications to the CAX1 certificate</actionname>
       
  1787 	<actiontype>setapplications</actiontype>
       
  1788 	<actionbody>
       
  1789 		<label>CAX1</label>
       
  1790 		<uid>1</uid>
       
  1791 	</actionbody>
       
  1792 	<actionresult>
       
  1793 		<return>KErrAccessDenied</return>
       
  1794 	</actionresult>
       
  1795 </action>
       
  1796 
       
  1797 <action>
       
  1798 	<actionname>7.6.3,Set the trust for CAX1</actionname>
       
  1799 	<actiontype>settrust</actiontype>
       
  1800 	<actionbody>
       
  1801 		<label>CAX1</label>
       
  1802 		<trust>1</trust>
       
  1803 	</actionbody>
       
  1804 	<actionresult>
       
  1805 		<return>KErrAccessDenied</return>
       
  1806 	</actionresult>
       
  1807 </action>
       
  1808 
       
  1809 <action>
       
  1810 	<actionname>No Test,Deleting the writable certificate store manager</actionname>
       
  1811 	<actiontype>delete</actiontype>
       
  1812 	<actionbody></actionbody>
       
  1813 	<actionresult>
       
  1814 		<return>KErrNone</return>
       
  1815 	</actionresult>
       
  1816 </action>
       
  1817 
       
  1818 <action>
       
  1819 	<actionname>No Test,Opening a certificate store manager</actionname>
       
  1820 	<actiontype>init</actiontype>
       
  1821 	<actionbody>
       
  1822 		<mode>write</mode>
       
  1823 	</actionbody>
       
  1824 	<actionresult>
       
  1825 		<return>KErrNone</return>
       
  1826 	</actionresult>
       
  1827 </action>
       
  1828 
       
  1829 <action>
       
  1830 	<actionname>No Test,Deleting the certificate CAX1</actionname>
       
  1831 	<actiontype>deletecert</actiontype>
       
  1832 	<actionbody>
       
  1833 		<certtype>ca</certtype>
       
  1834 		<label>CAX1</label>
       
  1835 	</actionbody>
       
  1836 	<actionresult>
       
  1837 		<return>KErrNone</return>
       
  1838 	</actionresult>
       
  1839 </action>
       
  1840 
       
  1841 <action>
       
  1842 	<actionname>No Test, Deleting all certs ***NEW***</actionname>
       
  1843 	<actiontype>deletecert</actiontype>
       
  1844 	<actionbody>
       
  1845 		<label>*.*</label>
       
  1846 		<deleteallcerts>1</deleteallcerts>
       
  1847 	</actionbody>
       
  1848 	<actionresult>
       
  1849 		<return>KErrNone</return>
       
  1850 	</actionresult>
       
  1851 </action>
       
  1852 
       
  1853 <action>
       
  1854 	<actionname>No Test,Deleting the writable certificate store manager</actionname>
       
  1855 	<actiontype>delete</actiontype>
       
  1856 	<actionbody></actionbody>
       
  1857 	<actionresult>
       
  1858 		<return>KErrNone</return>
       
  1859 	</actionresult>
       
  1860 </action>
       
  1861 
       
  1862 // End of tests, removing the clients
       
  1863 <action>
       
  1864 	<actionname>No Test,Opening a CertificateAppInfoManager</actionname>
       
  1865 	<actiontype>initappmanager</actiontype>
       
  1866 	<actionbody></actionbody>
       
  1867 	<actionresult>
       
  1868 		<return>KErrNone</return>
       
  1869 	</actionresult>
       
  1870 </action>
       
  1871 
       
  1872 <action>
       
  1873 	<actionname>No Test,Deleting the client A1</actionname>
       
  1874 	<actiontype>removeclient</actiontype>
       
  1875 	<actionbody>
       
  1876 		<uid>1</uid>
       
  1877 	</actionbody>
       
  1878 	<actionresult>
       
  1879 		<return>KErrNone</return>
       
  1880 	</actionresult>
       
  1881 </action>
       
  1882 
       
  1883 <action>
       
  1884 	<actionname>No Test,Deleting the client A2</actionname>
       
  1885 	<actiontype>removeclient</actiontype>
       
  1886 	<actionbody>
       
  1887 		<uid>2</uid>
       
  1888 	</actionbody>
       
  1889 	<actionresult>
       
  1890 		<return>KErrNone</return>
       
  1891 	</actionresult>
       
  1892 </action>
       
  1893 
       
  1894 <action>
       
  1895 	<actionname>No Test,Deleting the client A3</actionname>
       
  1896 	<actiontype>removeclient</actiontype>
       
  1897 	<actionbody>
       
  1898 		<uid>3</uid>
       
  1899 	</actionbody>
       
  1900 	<actionresult>
       
  1901 		<return>KErrNone</return>
       
  1902 	</actionresult>
       
  1903 </action>
       
  1904 
       
  1905 <action>
       
  1906 	<actionname>No Test,Deleting the client A4</actionname>
       
  1907 	<actiontype>removeclient</actiontype>
       
  1908 	<actionbody>
       
  1909 		<uid>4</uid>
       
  1910 	</actionbody>
       
  1911 	<actionresult>
       
  1912 		<return>KErrNone</return>
       
  1913 	</actionresult>
       
  1914 </action>
       
  1915 
       
  1916 <action>
       
  1917 	<actionname>No Test,Deleting the CertificateAppInfoManager</actionname>
       
  1918 	<actiontype>deleteappmanager</actiontype>
       
  1919 	<actionbody></actionbody>
       
  1920 	<actionresult>
       
  1921 		<return>KErrNone</return>
       
  1922 	</actionresult>
       
  1923 </action>