cryptoservices/filebasedcertificateandkeystores/test/tkeystore/scripts/tkeystore_authentication2.ini
branchRCL_3
changeset 61 641f389e9157
equal deleted inserted replaced
60:f18401adf8e1 61:641f389e9157
       
     1 [SEC-TKEYSTORE_AUTHENTICATION2-0001-002]
       
     2 
       
     3 <actionbody>
       
     4 
       
     5 	<mode>manager</mode>
       
     6 
       
     7 	<CheckKeyStoreLabel>1</CheckKeyStoreLabel>
       
     8 
       
     9 	<keystoreindex>2</keystoreindex>
       
    10 
       
    11 	<keystorelabel>Dummy KeyStore Manager1</keystorelabel>
       
    12 
       
    13 </actionbody>
       
    14 
       
    15 
       
    16 
       
    17 [SEC-TKEYSTORE_AUTHENTICATION2-0001-004]
       
    18 
       
    19 <actionbody>
       
    20 
       
    21 	<mode>manager</mode>
       
    22 
       
    23 	<CheckKeyStoreLabel>1</CheckKeyStoreLabel>
       
    24 
       
    25 	<keystoreindex>4</keystoreindex>
       
    26 
       
    27 	<keystorelabel>Dummy KeyStore Manager1</keystorelabel>
       
    28 
       
    29 </actionbody>
       
    30 
       
    31 
       
    32 
       
    33 [SEC-TKEYSTORE_AUTHENTICATION2-0001-006]
       
    34 
       
    35 <actionbody>
       
    36 
       
    37 	<mode>manager</mode>
       
    38 
       
    39 	<CheckStoreCount>1</CheckStoreCount>
       
    40 
       
    41 	<KeyStoreCount>4</KeyStoreCount>
       
    42 
       
    43 	<KeyStoreManagerCount>3</KeyStoreManagerCount>
       
    44 
       
    45 </actionbody>
       
    46 
       
    47 
       
    48 
       
    49 [SEC-TKEYSTORE_AUTHENTICATION2-0001-007]
       
    50 
       
    51 <actionbody>
       
    52 
       
    53 	<mode>manager</mode>
       
    54 
       
    55 </actionbody>
       
    56 
       
    57 
       
    58 
       
    59 [SEC-TKEYSTORE_AUTHENTICATION2-0001-008]
       
    60 
       
    61 <actionbody>
       
    62 
       
    63 	<keyusage>Derive</keyusage>
       
    64 
       
    65 	<keysize>512</keysize>
       
    66 
       
    67 	<keylabel>cheeku</keylabel>
       
    68 
       
    69 	<keyalgorithm>DH</keyalgorithm>
       
    70 
       
    71 	<keyaccesstype>Extractable</keyaccesstype>
       
    72 
       
    73 	<keystore>0</keystore>
       
    74 
       
    75 	<authexpression>strong</authexpression>
       
    76 
       
    77 	<freshness>0</freshness>
       
    78 
       
    79 </actionbody>
       
    80 
       
    81 
       
    82 
       
    83 [SEC-TKEYSTORE_AUTHENTICATION2-0001-009]
       
    84 
       
    85 <actionbody>
       
    86 
       
    87 	<authmode>set</authmode>
       
    88 
       
    89 	<keylabel>cheeku</keylabel>
       
    90 
       
    91 	<authexpression>strong</authexpression>
       
    92 
       
    93 	<negativefreshness>1</negativefreshness>
       
    94 
       
    95 </actionbody>
       
    96 
       
    97 
       
    98 
       
    99 [SEC-TKEYSTORE_AUTHENTICATION2-0001-010]
       
   100 
       
   101 <actionbody>
       
   102 
       
   103 	<keyusage>Derive</keyusage>
       
   104 
       
   105 	<keysize>512</keysize>
       
   106 
       
   107 	<keylabel>cheeku</keylabel>
       
   108 
       
   109 	<keyalgorithm>DH</keyalgorithm>
       
   110 
       
   111 	<keyaccesstype>Extractable</keyaccesstype>
       
   112 
       
   113 	<keyaccesstype>Local</keyaccesstype>
       
   114 
       
   115 </actionbody>
       
   116 
       
   117 
       
   118 
       
   119 [SEC-TKEYSTORE_AUTHENTICATION2-0001-011]
       
   120 
       
   121 <actionbody>
       
   122 
       
   123 	<ImportData>pkcs8rsa.001</ImportData>
       
   124 
       
   125 	<keyusage>allusagesbutNR</keyusage>
       
   126 
       
   127 	<keylabel>user2Key</keylabel>
       
   128 
       
   129 	<keyaccesstype>Extractable</keyaccesstype>
       
   130 
       
   131 </actionbody>
       
   132 
       
   133 
       
   134 
       
   135 [SEC-TKEYSTORE_AUTHENTICATION2-0001-012]
       
   136 
       
   137 <actionbody>
       
   138 
       
   139 		<foundkey>cheeku</foundkey>
       
   140 
       
   141 	<foundkey>user2Key</foundkey>
       
   142 
       
   143 		<foundkey>cheeku</foundkey>
       
   144 
       
   145 	<foundkey>user2Key</foundkey>
       
   146 
       
   147 </actionbody>
       
   148 
       
   149 
       
   150 
       
   151 [SEC-TKEYSTORE_AUTHENTICATION2-0001-013]
       
   152 
       
   153 <actionbody>
       
   154 
       
   155 	<ExportFile>export_pkcs8rsa_0.001</ExportFile>
       
   156 
       
   157 	<keyusage>allusagesbutNR</keyusage>
       
   158 
       
   159 	<keylabel>gm0</keylabel>
       
   160 
       
   161 	<keyalgorithm>RSA</keyalgorithm>
       
   162 
       
   163 	<encrypted>0</encrypted>
       
   164 
       
   165 </actionbody>
       
   166 
       
   167 
       
   168 
       
   169 [SEC-TKEYSTORE_AUTHENTICATION2-0001-014]
       
   170 
       
   171 <actionbody>
       
   172 
       
   173 	<keyalgorithm>RSA</keyalgorithm>
       
   174 
       
   175 	<deletecount>1</deletecount>
       
   176 
       
   177 </actionbody>
       
   178 
       
   179 
       
   180 
       
   181 [SEC-TKEYSTORE_AUTHENTICATION2-0001-015]
       
   182 
       
   183 <actionbody>
       
   184 
       
   185 	<keylabel>*IMPORTED* encrypted raddicio</keylabel>
       
   186 
       
   187 	<deletecount>0</deletecount>
       
   188 
       
   189 </actionbody>
       
   190 
       
   191 
       
   192 
       
   193 [SEC-TKEYSTORE_AUTHENTICATION2-0001-016]
       
   194 
       
   195 <actionbody>
       
   196 
       
   197 	<authmode>set</authmode>
       
   198 
       
   199 	<keylabel>*IMPORTED* encrypted raddicio</keylabel>
       
   200 
       
   201 	<authexpression>medium</authexpression>
       
   202 
       
   203 	<freshness>21</freshness>
       
   204 
       
   205 </actionbody>
       
   206 
       
   207 
       
   208 
       
   209 [SEC-TKEYSTORE_AUTHENTICATION2-0001-017]
       
   210 
       
   211 <actionbody>
       
   212 
       
   213 	<authmode>get</authmode>
       
   214 
       
   215 	<keylabel>*IMPORTED* encrypted raddicio</keylabel>
       
   216 
       
   217 	<expectedexpression>medium</expectedexpression>
       
   218 
       
   219 	<expectedfreshness>21</expectedfreshness>
       
   220 
       
   221 </actionbody>
       
   222 
       
   223 
       
   224 
       
   225 [SEC-TKEYSTORE_AUTHENTICATION2-0001-018]
       
   226 
       
   227 <actionbody>
       
   228 
       
   229 	<keyusage>Derive</keyusage>
       
   230 
       
   231 	<keysize>512</keysize>
       
   232 
       
   233 	<keylabel>negativefreshness</keylabel>
       
   234 
       
   235 	<keyalgorithm>DH</keyalgorithm>
       
   236 
       
   237 	<keyaccesstype>Extractable</keyaccesstype>
       
   238 
       
   239 	<keystore>0</keystore>
       
   240 
       
   241 	<authexpression>strong</authexpression>
       
   242 
       
   243 	<negativefreshness>1</negativefreshness>
       
   244 
       
   245 </actionbody>
       
   246 
       
   247 
       
   248 
       
   249 [SEC-TKEYSTORE_AUTHENTICATION2-0001-019]
       
   250 
       
   251 <actionbody>
       
   252 
       
   253 	<keyusage>Derive</keyusage>
       
   254 
       
   255 	<keysize>512</keysize>
       
   256 
       
   257 	<keylabel>negativefreshness</keylabel>
       
   258 
       
   259 	<keyalgorithm>DH</keyalgorithm>
       
   260 
       
   261 	<keyaccesstype>Extractable</keyaccesstype>
       
   262 
       
   263 	<keystore>0</keystore>
       
   264 
       
   265 	<authexpression>strong</authexpression>
       
   266 
       
   267 	<freshness>2147483648</freshness>
       
   268 
       
   269 </actionbody>
       
   270 
       
   271 
       
   272 
       
   273 [SEC-TKEYSTORE_AUTHENTICATION2-0001-020]
       
   274 
       
   275 <actionbody>
       
   276 
       
   277 	<keyusage>Derive</keyusage>
       
   278 
       
   279 	<keysize>512</keysize>
       
   280 
       
   281 	<keylabel>invalidaliasvalue</keylabel>
       
   282 
       
   283 	<keyalgorithm>DH</keyalgorithm>
       
   284 
       
   285 	<keyaccesstype>Extractable</keyaccesstype>
       
   286 
       
   287 	<keystore>0</keystore>
       
   288 
       
   289 	<authexpression>invalid</authexpression>
       
   290 
       
   291 	<freshness>10</freshness>
       
   292 
       
   293 </actionbody>
       
   294 
       
   295 
       
   296 
       
   297 [SEC-TKEYSTORE_AUTHENTICATION2-0001-021]
       
   298 
       
   299 <actionbody>
       
   300 
       
   301 	<keyusage>Derive</keyusage>
       
   302 
       
   303 	<keysize>512</keysize>
       
   304 
       
   305 	<keylabel>verybigexpression</keylabel>
       
   306 
       
   307 	<keyalgorithm>DH</keyalgorithm>
       
   308 
       
   309 	<keyaccesstype>Extractable</keyaccesstype>
       
   310 
       
   311 	<keystore>0</keystore>
       
   312 
       
   313 	<authexpression>
       
   314 
       
   315 To be, or not to be: that is the question:
       
   316 
       
   317 Whether 'tis nobler in the mind to suffer
       
   318 
       
   319 The slings and arrows of outrageous fortune,
       
   320 
       
   321 Or to take arms against a sea of troubles,
       
   322 
       
   323 And by opposing end them? To die: to sleep;
       
   324 
       
   325 No more; and by a sleep to say we end
       
   326 
       
   327 The heart-ache and the thousand natural shocks
       
   328 
       
   329 That flesh is heir to, 'tis a consummation
       
   330 
       
   331 Devoutly to be wish'd. To die, to sleep;
       
   332 
       
   333 To sleep: perchance to dream: ay, there's the rub;
       
   334 
       
   335 For in that sleep of death what dreams may come
       
   336 
       
   337 When we have shuffled off this mortal coil,
       
   338 
       
   339 Must give us pause: there's the respect
       
   340 
       
   341 That makes calamity of so long life;
       
   342 
       
   343 For who would bear the whips and scorns of time,
       
   344 
       
   345 The oppressor's wrong, the proud man's contumely,
       
   346 
       
   347 The pangs of despised love, the law's delay,
       
   348 
       
   349 The insolence of office and the spurns
       
   350 
       
   351 That patient merit of the unworthy takes,
       
   352 
       
   353 When he himself might his quietus make
       
   354 
       
   355 With a bare bodkin? Who would fardels bear,
       
   356 
       
   357 To grunt and sweat under a weary life,
       
   358 
       
   359 But that the dread of something after death,
       
   360 
       
   361 The undiscover'd country from whose bourn
       
   362 
       
   363 No traveller returns, puzzles the will
       
   364 
       
   365 And makes us rather bear those ills we have
       
   366 
       
   367 Than fly to others that we know not of?
       
   368 
       
   369 Thus conscience does make cowards of us all;
       
   370 
       
   371 And thus the native hue of resolution
       
   372 
       
   373 Is sicklied o'er with the pale cast of thought,
       
   374 
       
   375 And enterprises of great pith and moment
       
   376 
       
   377 With this regard their currents turn awry,
       
   378 
       
   379 And lose the name of action.--Soft you now!
       
   380 
       
   381 The fair Ophelia! Nymph, in thy orisons
       
   382 
       
   383 Be all my sins remember'd. 
       
   384 
       
   385 	</authexpression>
       
   386 
       
   387 	<freshness>10</freshness>
       
   388 
       
   389 </actionbody>
       
   390 
       
   391 
       
   392 
       
   393 [SEC-TKEYSTORE_AUTHENTICATION2-0001-022]
       
   394 
       
   395 <actionbody>
       
   396 
       
   397 	<ImportData>pkcs8rsa.001</ImportData>
       
   398 
       
   399 	<keyusage>allusagesbutNR</keyusage>
       
   400 
       
   401 	<keylabel>gm0</keylabel>
       
   402 
       
   403 	<keyaccesstype>Extractable</keyaccesstype>
       
   404 
       
   405 	<authexpression>strong</authexpression>
       
   406 
       
   407 	<negativefreshness>1</negativefreshness>
       
   408 
       
   409 </actionbody>
       
   410 
       
   411 
       
   412 
       
   413 [SEC-TKEYSTORE_AUTHENTICATION2-0001-023]
       
   414 
       
   415 <actionbody>
       
   416 
       
   417 	<ImportData>pkcs8rsa.001</ImportData>
       
   418 
       
   419 	<keyusage>allusagesbutNR</keyusage>
       
   420 
       
   421 	<keylabel>gm0</keylabel>
       
   422 
       
   423 	<keyaccesstype>Extractable</keyaccesstype>
       
   424 
       
   425 	<authexpression>strong</authexpression>
       
   426 
       
   427 	<freshness>2147483648</freshness>
       
   428 
       
   429 </actionbody>
       
   430 
       
   431 
       
   432 
       
   433 [SEC-TKEYSTORE_AUTHENTICATION2-0001-024]
       
   434 
       
   435 <actionbody>
       
   436 
       
   437 	<ImportData>export_pkcs8rsa_0_3DES_CBC.001</ImportData>
       
   438 
       
   439 	<keyusage>allusagesbutNR</keyusage>
       
   440 
       
   441 	<keylabel>gm_export_pkcs8rsa_0_3DES_CBC.001</keylabel>
       
   442 
       
   443 	<keyalgorithm>RSA</keyalgorithm>
       
   444 
       
   445 	<keyaccesstype>Extractable</keyaccesstype>
       
   446 
       
   447 	<encrypted>1</encrypted>
       
   448 
       
   449 	<passphrase>import clanger</passphrase>
       
   450 
       
   451 	<disabledialogcheck>1</disabledialogcheck>	
       
   452 
       
   453 	<authexpression>strong</authexpression>
       
   454 
       
   455 	<negativefreshness>1</negativefreshness>
       
   456 
       
   457 </actionbody>
       
   458 
       
   459 
       
   460 
       
   461 [SEC-TKEYSTORE_AUTHENTICATION2-0001-025]
       
   462 
       
   463 <actionbody>
       
   464 
       
   465 	<ImportData>export_pkcs8rsa_0_3DES_CBC.001</ImportData>
       
   466 
       
   467 	<keyusage>allusagesbutNR</keyusage>
       
   468 
       
   469 	<keylabel>gm_export_pkcs8rsa_0_3DES_CBC.001</keylabel>
       
   470 
       
   471 	<keyalgorithm>RSA</keyalgorithm>
       
   472 
       
   473 	<keyaccesstype>Extractable</keyaccesstype>
       
   474 
       
   475 	<encrypted>1</encrypted>
       
   476 
       
   477 	<passphrase>import clanger</passphrase>
       
   478 
       
   479 	<disabledialogcheck>1</disabledialogcheck>
       
   480 
       
   481 	<authexpression>strong</authexpression>
       
   482 
       
   483 	<freshness>2147483648</freshness>
       
   484 
       
   485 </actionbody>
       
   486 
       
   487 
       
   488 
       
   489 [SEC-TKEYSTORE_AUTHENTICATION2-0001-026]
       
   490 
       
   491 <actionbody>
       
   492 
       
   493 	<authmode>set</authmode>
       
   494 
       
   495 	<keylabel>cheeku</keylabel>
       
   496 
       
   497 	<authexpression>strong</authexpression>
       
   498 
       
   499 	<negativefreshness>1</negativefreshness>
       
   500 
       
   501 </actionbody>
       
   502 
       
   503 
       
   504 
       
   505 [SEC-TKEYSTORE_AUTHENTICATION2-0001-027]
       
   506 
       
   507 <actionbody>
       
   508 
       
   509 	<authmode>set</authmode>
       
   510 
       
   511 	<keylabel>cheeku</keylabel>
       
   512 
       
   513 	<authexpression>strong</authexpression>
       
   514 
       
   515 	<freshness>2147483648</freshness>
       
   516 
       
   517 </actionbody>
       
   518 
       
   519 
       
   520 
       
   521 [SEC-TKEYSTORE_AUTHENTICATION2-0001-030]
       
   522 
       
   523 <actionbody>
       
   524 
       
   525 	<seconds>5</seconds>
       
   526 
       
   527 </actionbody>
       
   528 
       
   529 
       
   530