cryptoservices/certificateandkeymgmt/tcertstore/scripts/unifiedcertstore2-conf3.txt
changeset 0 2c201484c85f
equal deleted inserted replaced
-1:000000000000 0:2c201484c85f
       
     1 ///////////////////////////////////////////////////////////////
       
     2 // WARNING! This test requires that the second additional store
       
     3 // is read only and that the certificates CAX2, CAX3, CAW1, 
       
     4 // nrcert, rsasigncer2, enciphersign have been added in the
       
     5 // store - these get added by unifiedcertstore3-conf2
       
     6 ///////////////////////////////////////////////////////////////
       
     7 
       
     8 //6.1 Test cases for single file-based writable certificate store
       
     9 
       
    10 //6.1.1 Successfull addition, listing and retrieval of certificates (X.509)
       
    11 <action>
       
    12 	<actionname>No Test,Opening a CertificateAppInfoManager</actionname>
       
    13 	<actiontype>initappmanager</actiontype>
       
    14 	<actionbody></actionbody>
       
    15 	<actionresult>
       
    16 		<return>KErrNone</return>
       
    17 	</actionresult>
       
    18 </action>
       
    19 
       
    20 <action>
       
    21 	<actionname>No Test,Adding client A1</actionname>
       
    22 	<actiontype>addclient</actiontype>
       
    23 	<actionbody>
       
    24 		<name>A1</name>
       
    25 		<uid>1</uid>
       
    26 	</actionbody>
       
    27 	<actionresult>
       
    28 		<return>KErrNone</return>
       
    29 	</actionresult>
       
    30 </action>
       
    31 
       
    32 <action>
       
    33 	<actionname>No Test,Adding client A2</actionname>
       
    34 	<actiontype>addclient</actiontype>
       
    35 	<actionbody>
       
    36 		<name>A2</name>
       
    37 		<uid>2</uid>
       
    38 	</actionbody>
       
    39 	<actionresult>
       
    40 		<return>KErrNone</return>
       
    41 	</actionresult>
       
    42 </action>
       
    43 
       
    44 <action>
       
    45 	<actionname>No Test,Adding client A3</actionname>
       
    46 	<actiontype>addclient</actiontype>
       
    47 	<actionbody>
       
    48 		<name>A3</name>
       
    49 		<uid>3</uid>
       
    50 	</actionbody>
       
    51 	<actionresult>
       
    52 		<return>KErrNone</return>
       
    53 	</actionresult>
       
    54 </action>
       
    55 
       
    56 <action>
       
    57 	<actionname>No Test,Adding client A4</actionname>
       
    58 	<actiontype>addclient</actiontype>
       
    59 	<actionbody>
       
    60 		<name>A4</name>
       
    61 		<uid>4</uid>
       
    62 	</actionbody>
       
    63 	<actionresult>
       
    64 		<return>KErrNone</return>
       
    65 	</actionresult>
       
    66 </action>
       
    67 
       
    68 <action>
       
    69 	<actionname>No Test,Deleting the CertificateAppInfoManager</actionname>
       
    70 	<actiontype>deleteappmanager</actiontype>
       
    71 	<actionbody></actionbody>
       
    72 	<actionresult>
       
    73 		<return>KErrNone</return>
       
    74 	</actionresult>
       
    75 </action>
       
    76 
       
    77 <action>
       
    78 	<actionname>6.1.1.1,Opening a certificate store manager</actionname>
       
    79 	<actiontype>init</actiontype>
       
    80 	<actionbody>
       
    81 		<mode>write</mode>
       
    82 	</actionbody>
       
    83 	<actionresult>
       
    84 		<return>KErrNone</return>
       
    85 	</actionresult>
       
    86 </action>
       
    87 
       
    88 <action>
       
    89 	<actionname>6.1.1.2,Add the certificate CAX1</actionname>
       
    90 	<actiontype>addcert</actiontype>
       
    91 	<actionbody>
       
    92 		<format>X509</format>
       
    93 		<label>CAX1</label>
       
    94 		<issuerkey></issuerkey>
       
    95 		<subjectkey></subjectkey>
       
    96 		<certstore>0</certstore>
       
    97 		<certfile>c:\unifiedcertstore2\CAX1.cer</certfile>
       
    98 		<certowner>ca</certowner>
       
    99 	</actionbody>
       
   100 	<actionresult>
       
   101 		<return>KErrNone</return>
       
   102 	</actionresult>
       
   103 </action>
       
   104 
       
   105 <action>
       
   106 	<actionname>6.1.1.5,Get the list of certificates</actionname>
       
   107 	<actiontype>listcert</actiontype>
       
   108 	<actionbody>
       
   109 		<filter>
       
   110 			<ownertype>ca</ownertype>
       
   111 		</filter>
       
   112 	</actionbody>
       
   113 	<actionresult>
       
   114 		<return>KErrNone</return>
       
   115 		<CCTCertInfo><label>CAX1</label></CCTCertInfo>
       
   116 		<CCTCertInfo><label>CAX2</label></CCTCertInfo>
       
   117 		<CCTCertInfo><label>CAX3</label></CCTCertInfo>
       
   118 		<CCTCertInfo><label>CAW1</label></CCTCertInfo>
       
   119 	</actionresult>
       
   120 </action>
       
   121 
       
   122 <action>
       
   123 	<actionname>6.1.1.5.1,Retrieve CAX1 cert</actionname>
       
   124 	<actiontype>retrieve</actiontype>
       
   125 	<actionbody>
       
   126 		<label>CAX1</label>
       
   127 	</actionbody>
       
   128 	<actionresult>
       
   129 		<return>KErrNone</return>
       
   130 	</actionresult>
       
   131 </action>
       
   132 
       
   133 <action>
       
   134 	<actionname>6.1.1.9,Deleting the certificate store manager</actionname>
       
   135 	<actiontype>delete</actiontype>
       
   136 	<actionbody></actionbody>
       
   137 	<actionresult>
       
   138 		<return>KErrNone</return>
       
   139 	</actionresult>
       
   140 </action>
       
   141 
       
   142 <action>
       
   143 	<actionname>6.1.1.10,Opening a certificate store manager</actionname>
       
   144 	<actiontype>init</actiontype>
       
   145 	<actionbody>
       
   146 		<mode>write</mode>
       
   147 	</actionbody>
       
   148 	<actionresult>
       
   149 		<return>KErrNone</return>
       
   150 	</actionresult>
       
   151 </action>
       
   152 
       
   153 <action>
       
   154 	<actionname>6.1.1.11,Get the list of certificates</actionname>
       
   155 	<actiontype>listcert</actiontype>
       
   156 	<actionbody>
       
   157 		<filter>
       
   158 			<ownertype>ca</ownertype>
       
   159 		</filter>
       
   160 	</actionbody>
       
   161 	<actionresult>
       
   162 		<return>KErrNone</return>
       
   163 		<CCTCertInfo><label>CAX1</label></CCTCertInfo>
       
   164 		<CCTCertInfo><label>CAX2</label></CCTCertInfo>
       
   165 		<CCTCertInfo><label>CAX3</label></CCTCertInfo>
       
   166 		<CCTCertInfo><label>CAW1</label></CCTCertInfo>
       
   167 	</actionresult>
       
   168 </action>
       
   169 
       
   170 //6.1.2 Successfull addition, listing and retrieval of certificates (WTLS)
       
   171 
       
   172 <action>
       
   173 	<actionname>6.1.2.2,Add the certificate CAW2</actionname>
       
   174 	<actiontype>addcert</actiontype>
       
   175 	<actionbody>
       
   176 		<format>WTLS</format>
       
   177 		<label>CAW2</label>
       
   178 		<issuerkey></issuerkey>
       
   179 		<subjectkey></subjectkey>
       
   180 		<certstore>0</certstore>
       
   181 		<certfile>c:\unifiedcertstore2\CAW2.cer</certfile>
       
   182 		<certowner>ca</certowner>
       
   183 	</actionbody>
       
   184 	<actionresult>
       
   185 		<return>KErrNone</return>
       
   186 	</actionresult>
       
   187 </action>
       
   188 
       
   189 <action>
       
   190 	<actionname>6.1.2.3,Add the certificate CAW3</actionname>
       
   191 	<actiontype>addcert</actiontype>
       
   192 	<actionbody>
       
   193 		<format>WTLS</format>
       
   194 		<label>CAW3</label>
       
   195 		<issuerkey></issuerkey>
       
   196 		<subjectkey></subjectkey>
       
   197 		<certstore>0</certstore>
       
   198 		<certfile>c:\unifiedcertstore2\CAW3.cer</certfile>
       
   199 		<certowner>ca</certowner>
       
   200 	</actionbody>
       
   201 	<actionresult>
       
   202 		<return>KErrNone</return>
       
   203 	</actionresult>
       
   204 </action>
       
   205 
       
   206 <action>
       
   207 	<actionname>6.1.2.4,Get the list of certificates</actionname>
       
   208 	<actiontype>listcert</actiontype>
       
   209 	<actionbody>
       
   210 		<filter>
       
   211 			<ownertype>ca</ownertype>
       
   212 		</filter>
       
   213 	</actionbody>
       
   214 	<actionresult>
       
   215 		<return>KErrNone</return>
       
   216 		<CCTCertInfo><label>CAX1</label></CCTCertInfo>
       
   217 		<CCTCertInfo><label>CAW2</label></CCTCertInfo>
       
   218 		<CCTCertInfo><label>CAW3</label></CCTCertInfo>
       
   219 		<CCTCertInfo><label>CAX2</label></CCTCertInfo>
       
   220 		<CCTCertInfo><label>CAX3</label></CCTCertInfo>
       
   221 		<CCTCertInfo><label>CAW1</label></CCTCertInfo>
       
   222 	</actionresult>
       
   223 </action>
       
   224 
       
   225 <action>
       
   226 	<actionname>6.1.2.4.1,Retrieve CAW1 cert</actionname>
       
   227 	<actiontype>retrieve</actiontype>
       
   228 	<actionbody>
       
   229 		<label>CAW1</label>
       
   230 	</actionbody>
       
   231 	<actionresult>
       
   232 		<return>KErrNone</return>
       
   233 	</actionresult>
       
   234 </action>
       
   235 
       
   236 <action>
       
   237 	<actionname>6.1.2.5,Deleting the certificate store manager</actionname>
       
   238 	<actiontype>delete</actiontype>
       
   239 	<actionbody></actionbody>
       
   240 	<actionresult>
       
   241 		<return>KErrNone</return>
       
   242 	</actionresult>
       
   243 </action>
       
   244 
       
   245 <action>
       
   246 	<actionname>6.1.2.6,Opening a certificate store manager</actionname>
       
   247 	<actiontype>init</actiontype>
       
   248 	<actionbody>
       
   249 		<mode>write</mode>
       
   250 	</actionbody>
       
   251 	<actionresult>
       
   252 		<return>KErrNone</return>
       
   253 	</actionresult>
       
   254 </action>
       
   255 
       
   256 <action>
       
   257 	<actionname>6.1.2.7,Get the list of certificates</actionname>
       
   258 	<actiontype>listcert</actiontype>
       
   259 	<actionbody>
       
   260 		<filter>
       
   261 			<ownertype>ca</ownertype>
       
   262 		</filter>
       
   263 	</actionbody>
       
   264 	<actionresult>
       
   265 		<return>KErrNone</return>
       
   266 		<CCTCertInfo><label>CAX1</label></CCTCertInfo>
       
   267 		<CCTCertInfo><label>CAW2</label></CCTCertInfo>
       
   268 		<CCTCertInfo><label>CAW3</label></CCTCertInfo>
       
   269 		<CCTCertInfo><label>CAX2</label></CCTCertInfo>
       
   270 		<CCTCertInfo><label>CAX3</label></CCTCertInfo>
       
   271 		<CCTCertInfo><label>CAW1</label></CCTCertInfo>
       
   272 	</actionresult>
       
   273 </action>
       
   274 
       
   275 //6.1.3 Successfull trust settings updates and retrieval
       
   276 
       
   277 <action>
       
   278 	<actionname>6.1.3.1,Set applications to the CAX1 certificate</actionname>
       
   279 	<actiontype>setapplications</actiontype>
       
   280 	<actionbody>
       
   281 		<label>CAX1</label>
       
   282 		<uid>1 2 3</uid>
       
   283 	</actionbody>
       
   284 	<actionresult>
       
   285 		<return>KErrNone</return>
       
   286 	</actionresult>
       
   287 </action>
       
   288 
       
   289 <action>
       
   290 	<actionname>6.1.3.2,set the trust for CAX1</actionname>
       
   291 	<actiontype>settrust</actiontype>
       
   292 	<actionbody>
       
   293 		<label>CAX1</label>
       
   294 		<trust>1</trust>
       
   295 	</actionbody>
       
   296 	<actionresult>
       
   297 		<return>KErrNone</return>
       
   298 	</actionresult>
       
   299 </action>
       
   300 
       
   301 
       
   302 <action>
       
   303 	<actionname>6.1.3.7,Get applications for CAX1</actionname>
       
   304 	<actiontype>getapplications</actiontype>
       
   305 	<actionbody>
       
   306 		<label>CAX1</label>
       
   307 	</actionbody>
       
   308 	<actionresult>
       
   309 		<return>KErrNone</return>
       
   310 		<uid>1 2 3</uid>
       
   311 	</actionresult>
       
   312 </action>
       
   313 
       
   314 <action>
       
   315 	<actionname>6.1.3.8,Get the trust for CAX1</actionname>
       
   316 	<actiontype>gettrusters</actiontype>
       
   317 	<actionbody>
       
   318 		<label>CAX1</label>
       
   319 	</actionbody>
       
   320 	<actionresult>
       
   321 		<return>KErrNone</return>
       
   322 		<trust>1</trust>
       
   323 	</actionresult>
       
   324 </action>
       
   325 
       
   326 <action>
       
   327 	<actionname>6.1.3.13,Set trusters to the CAW2 certificate</actionname>
       
   328 	<actiontype>setapplications</actiontype>
       
   329 	<actionbody>
       
   330 		<label>CAW2</label>
       
   331 		<uid>1 2 3</uid>
       
   332 	</actionbody>
       
   333 	<actionresult>
       
   334 		<return>KErrNone</return>
       
   335 	</actionresult>
       
   336 </action>
       
   337 
       
   338 <action>
       
   339 	<actionname>6.1.3.14,set the trust for CAW2</actionname>
       
   340 	<actiontype>settrust</actiontype>
       
   341 	<actionbody>
       
   342 		<label>CAW2</label>
       
   343 		<trust>1</trust>
       
   344 	</actionbody>
       
   345 	<actionresult>
       
   346 		<return>KErrNone</return>
       
   347 	</actionresult>
       
   348 </action>
       
   349 
       
   350 <action>
       
   351 	<actionname>6.1.3.15,Set trusters to the CAW3 certificate</actionname>
       
   352 	<actiontype>setapplications</actiontype>
       
   353 	<actionbody>
       
   354 		<label>CAW3</label>
       
   355 		<uid>1 2</uid>
       
   356 	</actionbody>
       
   357 	<actionresult>
       
   358 		<return>KErrNone</return>
       
   359 	</actionresult>
       
   360 </action>
       
   361 
       
   362 <action>
       
   363 	<actionname>6.1.3.16,set the trust for CAW3</actionname>
       
   364 	<actiontype>settrust</actiontype>
       
   365 	<actionbody>
       
   366 		<label>CAW3</label>
       
   367 		<trust>1</trust>
       
   368 	</actionbody>
       
   369 	<actionresult>
       
   370 		<return>KErrNone</return>
       
   371 	</actionresult>
       
   372 </action>
       
   373 
       
   374 <action>
       
   375 	<actionname>6.1.3.17,Get applications for CAW1</actionname>
       
   376 	<actiontype>getapplications</actiontype>
       
   377 	<actionbody>
       
   378 		<label>CAW1</label>
       
   379 	</actionbody>
       
   380 	<actionresult>
       
   381 		<return>KErrNone</return>
       
   382 		<uid></uid>
       
   383 	</actionresult>
       
   384 </action>
       
   385 
       
   386 <action>
       
   387 	<actionname>6.1.3.18,Get the trust for CAW1</actionname>
       
   388 	<actiontype>gettrusters</actiontype>
       
   389 	<actionbody>
       
   390 		<label>CAW1</label>
       
   391 	</actionbody>
       
   392 	<actionresult>
       
   393 		<return>KErrNone</return>
       
   394 		<trust>0</trust>
       
   395 	</actionresult>
       
   396 </action>
       
   397 
       
   398 <action>
       
   399 	<actionname>6.1.3.19,Get applications for CAW2</actionname>
       
   400 	<actiontype>getapplications</actiontype>
       
   401 	<actionbody>
       
   402 		<label>CAW2</label>
       
   403 	</actionbody>
       
   404 	<actionresult>
       
   405 		<return>KErrNone</return>
       
   406 		<uid>1 2 3</uid>
       
   407 	</actionresult>
       
   408 </action>
       
   409 
       
   410 <action>
       
   411 	<actionname>6.1.3.20,Get the trust for CAW2</actionname>
       
   412 	<actiontype>gettrusters</actiontype>
       
   413 	<actionbody>
       
   414 		<label>CAW2</label>
       
   415 	</actionbody>
       
   416 	<actionresult>
       
   417 		<return>KErrNone</return>
       
   418 		<trust>1</trust>
       
   419 	</actionresult>
       
   420 </action>
       
   421 
       
   422 <action>
       
   423 	<actionname>6.1.3.21,Get applications for CAW3</actionname>
       
   424 	<actiontype>getapplications</actiontype>
       
   425 	<actionbody>
       
   426 		<label>CAW3</label>
       
   427 	</actionbody>
       
   428 	<actionresult>
       
   429 		<return>KErrNone</return>
       
   430 		<uid>1 2</uid>
       
   431 	</actionresult>
       
   432 </action>
       
   433 
       
   434 <action>
       
   435 	<actionname>6.1.3.22,Get the trust for CAW3</actionname>
       
   436 	<actiontype>gettrusters</actiontype>
       
   437 	<actionbody>
       
   438 		<label>CAW3</label>
       
   439 	</actionbody>
       
   440 	<actionresult>
       
   441 		<return>KErrNone</return>
       
   442 		<trust>1</trust>
       
   443 	</actionresult>
       
   444 </action>
       
   445 
       
   446 //6.1.4 Successfull addition and retrieval of user certificates
       
   447 
       
   448 <action>
       
   449 <actionname>6.1.4.0.1 Import a RSA key</actionname>
       
   450 	<actiontype>importkey</actiontype>
       
   451 	<actionbody>
       
   452 		<ImportData>rsacertkey1.txt</ImportData>
       
   453 		<keyusage>AllUsagesButNR</keyusage>
       
   454 		<keylabel>*IMPORTED* RSA key 1</keylabel>
       
   455 		<keyaccesstype>Extractable</keyaccesstype>
       
   456 	</actionbody>
       
   457 	<actionresult>
       
   458 		<return>KErrNone</return>
       
   459 	</actionresult>
       
   460 </action>
       
   461 
       
   462 <action>
       
   463 <actionname>6.1.4.0.2 Import a RSA key</actionname>
       
   464 	<actiontype>importkey</actiontype>
       
   465 	<actionbody>
       
   466 		<ImportData>rsacertkey2.txt</ImportData>
       
   467 		<keyusage>AllUsagesButNR</keyusage>
       
   468 		<keylabel>*IMPORTED* RSA key 2</keylabel>
       
   469 		<keyaccesstype>Extractable</keyaccesstype>
       
   470 	</actionbody>
       
   471 	<actionresult>
       
   472 		<return>KErrNone</return>
       
   473 	</actionresult>
       
   474 </action>
       
   475 
       
   476 <action>
       
   477 <actionname>6.1.4.0.3 Import a RSA key</actionname>
       
   478 	<actiontype>importkey</actiontype>
       
   479 	<actionbody>
       
   480 		<ImportData>rsacertkey3.txt</ImportData>
       
   481 		<keyusage>AllUsagesButNR</keyusage>
       
   482 		<keylabel>*IMPORTED* RSA key 3</keylabel>
       
   483 		<keyaccesstype>Extractable</keyaccesstype>
       
   484 	</actionbody>
       
   485 	<actionresult>
       
   486 		<return>KErrNone</return>
       
   487 	</actionresult>
       
   488 </action>
       
   489 
       
   490 <action>
       
   491 	<actionname>6.1.4.1, Add certificate rsacert1 ***NEW***</actionname>
       
   492 	<actiontype>addcert</actiontype>
       
   493 	<actionbody>
       
   494 		<format>X509</format>
       
   495 		<label>rsacert1</label>
       
   496 		<issuerkey></issuerkey>
       
   497 		<subjectkey>4808f03892fe836e78d048bcefcca4a37913d886</subjectkey>
       
   498 		<certstore>0</certstore>
       
   499 		<certfile>c:\unifiedcertstore2\rsacert1.cer</certfile>
       
   500 		<certowner>user</certowner>
       
   501 	</actionbody>
       
   502 	<actionresult>
       
   503 		<return>KErrNone</return>
       
   504 	</actionresult>
       
   505 </action>
       
   506 
       
   507 
       
   508 <action>
       
   509 	<actionname>6.1.4.2,Add the certificate rsacert2 ***NEW***</actionname>
       
   510 	<actiontype>addcert</actiontype>
       
   511 	<actionbody>
       
   512 		<format>X509</format>
       
   513 		<label>rsacert2</label>
       
   514 		<issuerkey></issuerkey>
       
   515 		<subjectkey>dc448293c7c3ed68c9fabd37db43007136ae2ef4</subjectkey>
       
   516 		<certstore>0</certstore>
       
   517 		<certfile>c:\unifiedcertstore2\rsacert2.cer</certfile>
       
   518 		<certowner>user</certowner>
       
   519 	</actionbody>
       
   520 	<actionresult>
       
   521 		<return>KErrNone</return>
       
   522 	</actionresult>
       
   523 </action>
       
   524 
       
   525 <action>
       
   526 	<actionname>6.1.2.3,Add the certificate rsacert3 ***NEW***</actionname>
       
   527 	<actiontype>addcert</actiontype>
       
   528 	<actionbody>
       
   529 		<format>X509</format>
       
   530 		<label>rsacert3</label>
       
   531 		<issuerkey></issuerkey>
       
   532 		<subjectkey>0b2e1d1d4dbae5fc59a02a5115d2c2910fa796e0</subjectkey>
       
   533 		<certstore>0</certstore>
       
   534 		<certfile>c:\unifiedcertstore2\rsacert3.cer</certfile>
       
   535 		<certowner>user</certowner>
       
   536 	</actionbody>
       
   537 	<actionresult>
       
   538 		<return>KErrNone</return>
       
   539 	</actionresult>
       
   540 </action>
       
   541 
       
   542 <action>
       
   543 	<actionname>6.1.2.4, Install certificate with short subject key id (8 bytes)</actionname>
       
   544 	<actiontype>addcert</actiontype>
       
   545 	<actionbody>
       
   546 		<format>X509</format>
       
   547 		<label>SSKID</label>
       
   548 		<issuerkey></issuerkey>
       
   549 		<subjectkey></subjectkey>
       
   550 		<certstore>0</certstore>
       
   551 		<certfile>c:\unifiedcertstore2\u6k5.crt</certfile>
       
   552 		<certowner>ca</certowner>
       
   553 	</actionbody>
       
   554 	<actionresult>
       
   555 		<return>KErrNone</return>
       
   556 	</actionresult>
       
   557 </action>
       
   558 
       
   559 <action>
       
   560 	<actionname>6.1.4.3,Get the list of certificates filtered by subject key id</actionname>
       
   561 	<actiontype>listcert</actiontype>
       
   562 	<actionbody>
       
   563 		<filter>
       
   564 			<ownertype>ca</ownertype>
       
   565 			<subjectkeyid>4beffaae8d3cc3d8</subjectkeyid>
       
   566 		</filter>
       
   567 	</actionbody>
       
   568 	<actionresult>
       
   569 		<return>KErrNone</return>
       
   570 		<CCTCertInfo><label>SSKID</label></CCTCertInfo>
       
   571 	</actionresult>
       
   572 </action>
       
   573 
       
   574 <action>
       
   575 	<actionname>6.1.4.4.a,Get the list of certificates</actionname>
       
   576 	<actiontype>listcert</actiontype>
       
   577 	<actionbody>
       
   578 		<filter>
       
   579 			<ownertype>ca</ownertype>
       
   580 		</filter>
       
   581 	</actionbody>
       
   582 	<actionresult>
       
   583 		<return>KErrNone</return>
       
   584 		<CCTCertInfo><label>CAX1</label></CCTCertInfo>
       
   585 		<CCTCertInfo><label>CAW2</label></CCTCertInfo>
       
   586 		<CCTCertInfo><label>CAW3</label></CCTCertInfo>
       
   587 		<CCTCertInfo><label>SSKID</label></CCTCertInfo>
       
   588 		<CCTCertInfo><label>CAX2</label></CCTCertInfo>
       
   589 		<CCTCertInfo><label>CAX3</label></CCTCertInfo>
       
   590 		<CCTCertInfo><label>CAW1</label></CCTCertInfo>
       
   591 	</actionresult>
       
   592 </action>
       
   593 
       
   594 <action>
       
   595 	<actionname>6.1.4.4.b,Get the list of certificates ***NEW***</actionname>
       
   596 	<actiontype>listcert</actiontype>
       
   597 	<actionbody>
       
   598 		<filter>
       
   599 			<ownertype>user</ownertype>
       
   600 		</filter>
       
   601 	</actionbody>
       
   602 	<actionresult>
       
   603 		<return>KErrNone</return>
       
   604 		<CCTCertInfo><label>rsacert1</label></CCTCertInfo>
       
   605 		<CCTCertInfo><label>rsacert2</label></CCTCertInfo>
       
   606 		<CCTCertInfo><label>rsacert3</label></CCTCertInfo>
       
   607 		<CCTCertInfo><label>nrcert</label></CCTCertInfo>
       
   608 		<CCTCertInfo><label>rsasigncer2</label></CCTCertInfo>
       
   609 		<CCTCertInfo><label>enciphersign</label></CCTCertInfo>
       
   610 	</actionresult>
       
   611 </action>
       
   612 
       
   613 <action>
       
   614 	<actionname>6.1.4.4.c,Retrieve rsacert1 cert</actionname>
       
   615 	<actiontype>retrieve</actiontype>
       
   616 	<actionbody>
       
   617 		<label>rsacert1</label>
       
   618 	</actionbody>
       
   619 	<actionresult>
       
   620 		<return>KErrNone</return>
       
   621 	</actionresult>
       
   622 </action>
       
   623 
       
   624 //6.1.5 Successfull addition of certificate with subject key id (INC105166)
       
   625 
       
   626 <action>
       
   627 	<actionname>6.1.5.1, Install certificate with subject key id - specify wrong key id in the XML</actionname>
       
   628 	<actiontype>addcert</actiontype>
       
   629 	<actionbody>
       
   630 		<format>X509</format>
       
   631 		<label>CARK1</label>
       
   632 		<issuerkey></issuerkey>
       
   633 		<subjectkey>4808f03892fe836e78d048bcefcca4a37913d886</subjectkey>
       
   634 		<certstore>0</certstore>
       
   635 		<certfile>c:\unifiedcertstore2\subjectkeycert.der</certfile>
       
   636 		<certowner>ca</certowner>
       
   637 	</actionbody>
       
   638 	<actionresult>
       
   639 		<return>KErrArgument</return>
       
   640 	</actionresult>
       
   641 </action>
       
   642 
       
   643 <action>
       
   644 	<actionname>6.1.5.2, Install certificate with subject key id</actionname>
       
   645 	<actiontype>addcert</actiontype>
       
   646 	<actionbody>
       
   647 		<format>X509</format>
       
   648 		<label>CARK1</label>
       
   649 		<issuerkey></issuerkey>
       
   650 		<subjectkey></subjectkey>
       
   651 		<certstore>0</certstore>
       
   652 		<certfile>c:\unifiedcertstore2\subjectkeycert.der</certfile>
       
   653 		<certowner>ca</certowner>
       
   654 	</actionbody>
       
   655 	<actionresult>
       
   656 		<return>KErrNone</return>
       
   657 	</actionresult>
       
   658 </action>
       
   659 
       
   660 <action>
       
   661 	<actionname>No Test,Deleting the certificate SSKID</actionname>
       
   662 	<actiontype>deletecert</actiontype>
       
   663 	<actionbody>
       
   664 		<certtype>ca</certtype>
       
   665 		<label>SSKID</label>
       
   666 	</actionbody>
       
   667 	<actionresult>
       
   668 		<return>KErrNone</return>
       
   669 	</actionresult>
       
   670 </action>
       
   671 
       
   672 <action>
       
   673 	<actionname>No Test,Deleting the certificate CAX1</actionname>
       
   674 	<actiontype>deletecert</actiontype>
       
   675 	<actionbody>
       
   676 		<certtype>ca</certtype>
       
   677 		<label>CARK1</label>
       
   678 	</actionbody>
       
   679 	<actionresult>
       
   680 		<return>KErrNone</return>
       
   681 	</actionresult>
       
   682 </action>
       
   683 
       
   684 <action>
       
   685 	<actionname>No Test,Deleting the certificate CAX1</actionname>
       
   686 	<actiontype>deletecert</actiontype>
       
   687 	<actionbody>
       
   688 		<certtype>ca</certtype>
       
   689 		<label>CAX1</label>
       
   690 	</actionbody>
       
   691 	<actionresult>
       
   692 		<return>KErrNone</return>
       
   693 	</actionresult>
       
   694 </action>
       
   695 
       
   696 <action>
       
   697 	<actionname>No Test,Deleting the certificate CAW2</actionname>
       
   698 	<actiontype>deletecert</actiontype>
       
   699 	<actionbody>
       
   700 		<certtype>ca</certtype>
       
   701 		<label>CAW2</label>
       
   702 	</actionbody>
       
   703 	<actionresult>
       
   704 		<return>KErrNone</return>
       
   705 	</actionresult>
       
   706 </action>
       
   707 <action>
       
   708 	<actionname>No Test,Deleting the certificate CAW3</actionname>
       
   709 	<actiontype>deletecert</actiontype>
       
   710 	<actionbody>
       
   711 		<certtype>ca</certtype>
       
   712 		<label>CAW3</label>
       
   713 	</actionbody>
       
   714 	<actionresult>
       
   715 		<return>KErrNone</return>
       
   716 	</actionresult>
       
   717 </action>
       
   718 
       
   719 <action>
       
   720 	<actionname>No Test,Deleting the certificate rsacert1 ***NEW***</actionname>
       
   721 	<actiontype>deletecert</actiontype>
       
   722 	<actionbody>
       
   723 		<certtype>user</certtype>
       
   724 		<label>rsacert1</label>
       
   725 	</actionbody>
       
   726 	<actionresult>
       
   727 		<return>KErrNone</return>
       
   728 	</actionresult>
       
   729 </action>
       
   730 
       
   731 <action>
       
   732 	<actionname>No Test,Deleting the certificate rsacert2 ***NEW***</actionname>
       
   733 	<actiontype>deletecert</actiontype>
       
   734 	<actionbody>
       
   735 		<certtype>user</certtype>
       
   736 		<label>rsacert2</label>
       
   737 	</actionbody>
       
   738 	<actionresult>
       
   739 		<return>KErrNone</return>
       
   740 	</actionresult>
       
   741 </action>
       
   742 
       
   743 <action>
       
   744 	<actionname>No Test,Deleting the certificate rsacert3 ***NEW***</actionname>
       
   745 	<actiontype>deletecert</actiontype>
       
   746 	<actionbody>
       
   747 		<certtype>user</certtype>
       
   748 		<label>rsacert3</label>
       
   749 	</actionbody>
       
   750 	<actionresult>
       
   751 		<return>KErrNone</return>
       
   752 	</actionresult>
       
   753 </action>
       
   754 
       
   755 
       
   756 <action>
       
   757 	<actionname>No Test,Deleting the writable certificate store manager</actionname>
       
   758 	<actiontype>delete</actiontype>
       
   759 	<actionbody></actionbody>
       
   760 	<actionresult>
       
   761 		<return>KErrNone</return>
       
   762 	</actionresult>
       
   763 </action>
       
   764 
       
   765 <action>
       
   766 	<actionname>No Test,Opening a CertificateAppInfoManager</actionname>
       
   767 	<actiontype>initappmanager</actiontype>
       
   768 	<actionbody></actionbody>
       
   769 	<actionresult>
       
   770 		<return>KErrNone</return>
       
   771 	</actionresult>
       
   772 </action>
       
   773 
       
   774 <action>
       
   775 	<actionname>No Test,Deleting the client A1</actionname>
       
   776 	<actiontype>removeclient</actiontype>
       
   777 	<actionbody>
       
   778 		<uid>1</uid>
       
   779 	</actionbody>
       
   780 	<actionresult>
       
   781 		<return>KErrNone</return>
       
   782 	</actionresult>
       
   783 </action>
       
   784 
       
   785 <action>
       
   786 	<actionname>No Test,Deleting the client A2</actionname>
       
   787 	<actiontype>removeclient</actiontype>
       
   788 	<actionbody>
       
   789 		<uid>2</uid>
       
   790 	</actionbody>
       
   791 	<actionresult>
       
   792 		<return>KErrNone</return>
       
   793 	</actionresult>
       
   794 </action>
       
   795 
       
   796 <action>
       
   797 	<actionname>No Test,Deleting the client A3</actionname>
       
   798 	<actiontype>removeclient</actiontype>
       
   799 	<actionbody>
       
   800 		<uid>3</uid>
       
   801 	</actionbody>
       
   802 	<actionresult>
       
   803 		<return>KErrNone</return>
       
   804 	</actionresult>
       
   805 </action>
       
   806 
       
   807 <action>
       
   808 	<actionname>No Test,Deleting the client A4</actionname>
       
   809 	<actiontype>removeclient</actiontype>
       
   810 	<actionbody>
       
   811 		<uid>4</uid>
       
   812 	</actionbody>
       
   813 	<actionresult>
       
   814 		<return>KErrNone</return>
       
   815 	</actionresult>
       
   816 </action>
       
   817 
       
   818 <action>
       
   819 	<actionname>No Test,Deleting the CertificateAppInfoManager</actionname>
       
   820 	<actiontype>deleteappmanager</actiontype>
       
   821 	<actionbody></actionbody>
       
   822 	<actionresult>
       
   823 		<return>KErrNone</return>
       
   824 	</actionresult>
       
   825 </action>