cryptoservices/filebasedcertificateandkeystores/test/tkeystore/scripts/tkeystore_authentication1.ini
branchRCL_3
changeset 61 641f389e9157
equal deleted inserted replaced
60:f18401adf8e1 61:641f389e9157
       
     1 [SEC-TKEYSTORE_AUTHENTICATION1-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_AUTHENTICATION1-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_AUTHENTICATION1-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_AUTHENTICATION1-0001-007]
       
    50 
       
    51 <actionbody>
       
    52 
       
    53 	<mode>manager</mode>
       
    54 
       
    55 </actionbody>
       
    56 
       
    57 
       
    58 
       
    59 [SEC-TKEYSTORE_AUTHENTICATION1-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_AUTHENTICATION1-0001-009]
       
    84 
       
    85 <actionbody>
       
    86 
       
    87 	<keyusage>Derive</keyusage>
       
    88 
       
    89 	<keysize>512</keysize>
       
    90 
       
    91 	<keylabel>cheeku</keylabel>
       
    92 
       
    93 	<keyalgorithm>DH</keyalgorithm>
       
    94 
       
    95 	<keyaccesstype>Extractable</keyaccesstype>
       
    96 
       
    97 	<keyaccesstype>Local</keyaccesstype>
       
    98 
       
    99 </actionbody>
       
   100 
       
   101 
       
   102 
       
   103 [SEC-TKEYSTORE_AUTHENTICATION1-0001-010]
       
   104 
       
   105 <actionbody>
       
   106 
       
   107 	<authmode>set</authmode>
       
   108 
       
   109 	<keylabel>cheeku</keylabel>
       
   110 
       
   111 	<authexpression>medium</authexpression>
       
   112 
       
   113 	<freshness>21</freshness>
       
   114 
       
   115 </actionbody>
       
   116 
       
   117 
       
   118 
       
   119 [SEC-TKEYSTORE_AUTHENTICATION1-0001-011]
       
   120 
       
   121 <actionbody>
       
   122 
       
   123 	<authmode>get</authmode>
       
   124 
       
   125 	<keylabel>cheeku</keylabel>
       
   126 
       
   127 	<expectedexpression>medium</expectedexpression>
       
   128 
       
   129 	<expectedfreshness>21</expectedfreshness>
       
   130 
       
   131 </actionbody>
       
   132 
       
   133 
       
   134 
       
   135 [SEC-TKEYSTORE_AUTHENTICATION1-0001-012]
       
   136 
       
   137 <actionbody>
       
   138 
       
   139 	<keyusage>Derive</keyusage>
       
   140 
       
   141 	<keysize>512</keysize>
       
   142 
       
   143 	<keylabel>cheeku</keylabel>
       
   144 
       
   145 	<keyalgorithm>DH</keyalgorithm>
       
   146 
       
   147 	<keyaccesstype>Extractable</keyaccesstype>
       
   148 
       
   149 	<keyaccesstype>Local</keyaccesstype>
       
   150 
       
   151 </actionbody>
       
   152 
       
   153 
       
   154 
       
   155 [SEC-TKEYSTORE_AUTHENTICATION1-0001-013]
       
   156 
       
   157 <actionbody>
       
   158 
       
   159 	<foundkey>cheeku</foundkey>
       
   160 
       
   161 		<foundkey>cheeku</foundkey>
       
   162 
       
   163 </actionbody>
       
   164 
       
   165 
       
   166 
       
   167 [SEC-TKEYSTORE_AUTHENTICATION1-0001-014]
       
   168 
       
   169 <actionbody>
       
   170 
       
   171 	<ExportFile>export_DHkey.001</ExportFile>
       
   172 
       
   173 	<keyusage>Derive</keyusage>
       
   174 
       
   175 	<keylabel>cheeku</keylabel>
       
   176 
       
   177 	<keyalgorithm>DH</keyalgorithm>
       
   178 
       
   179 	<encrypted>0</encrypted>
       
   180 
       
   181 </actionbody>
       
   182 
       
   183 
       
   184 
       
   185 [SEC-TKEYSTORE_AUTHENTICATION1-0001-015]
       
   186 
       
   187 <actionbody>
       
   188 
       
   189 	<ImportData>pkcs8rsa.001</ImportData>
       
   190 
       
   191 	<keyusage>allusagesbutNR</keyusage>
       
   192 
       
   193 	<keylabel>gm0</keylabel>
       
   194 
       
   195 	<keyaccesstype>Extractable</keyaccesstype>
       
   196 
       
   197 	<authexpression>strong</authexpression>
       
   198 
       
   199 	<freshness>25</freshness>
       
   200 
       
   201 </actionbody>
       
   202 
       
   203 
       
   204 
       
   205 [SEC-TKEYSTORE_AUTHENTICATION1-0001-016]
       
   206 
       
   207 <actionbody>
       
   208 
       
   209 	<ExportFile>export_pkcs8rsa_0.001</ExportFile>
       
   210 
       
   211 	<keyusage>allusagesbutNR</keyusage>
       
   212 
       
   213 	<keylabel>gm0</keylabel>
       
   214 
       
   215 	<keyalgorithm>RSA</keyalgorithm>
       
   216 
       
   217 	<encrypted>0</encrypted>
       
   218 
       
   219 </actionbody>
       
   220 
       
   221 
       
   222 
       
   223 [SEC-TKEYSTORE_AUTHENTICATION1-0001-017]
       
   224 
       
   225 <actionbody>
       
   226 
       
   227 	<authmode>set</authmode>
       
   228 
       
   229 	<keylabel>gm0</keylabel>
       
   230 
       
   231 	<authexpression>medium</authexpression>
       
   232 
       
   233 	<freshness>0</freshness>
       
   234 
       
   235 </actionbody>
       
   236 
       
   237 
       
   238 
       
   239 [SEC-TKEYSTORE_AUTHENTICATION1-0001-018]
       
   240 
       
   241 <actionbody>
       
   242 
       
   243 	<ExportFile>export_pkcs8rsa_0.001</ExportFile>
       
   244 
       
   245 	<keyusage>allusagesbutNR</keyusage>
       
   246 
       
   247 	<keylabel>gm0</keylabel>
       
   248 
       
   249 	<keyalgorithm>RSA</keyalgorithm>
       
   250 
       
   251 	<encrypted>0</encrypted>
       
   252 
       
   253 </actionbody>
       
   254 
       
   255 
       
   256 
       
   257 [SEC-TKEYSTORE_AUTHENTICATION1-0001-019]
       
   258 
       
   259 <actionbody>
       
   260 
       
   261 	<ImportData>export_pkcs8rsa_0_3DES_CBC.001</ImportData>
       
   262 
       
   263 	<keyusage>allusagesbutNR</keyusage>
       
   264 
       
   265 	<keylabel>gm_export_pkcs8rsa_0_3DES_CBC.001</keylabel>
       
   266 
       
   267 	<keyalgorithm>RSA</keyalgorithm>
       
   268 
       
   269 	<keyaccesstype>Extractable</keyaccesstype>
       
   270 
       
   271 	<encrypted>1</encrypted>
       
   272 
       
   273 	<passphrase>import clanger</passphrase>
       
   274 
       
   275 	<authexpression>strong</authexpression>
       
   276 
       
   277 	<freshness>50</freshness>
       
   278 
       
   279 </actionbody>
       
   280 
       
   281 
       
   282 
       
   283 [SEC-TKEYSTORE_AUTHENTICATION1-0001-020]
       
   284 
       
   285 <actionbody>
       
   286 
       
   287 	<keyalgorithm>RSA</keyalgorithm>
       
   288 
       
   289 	<foundkey>gm0</foundkey>
       
   290 
       
   291 	<foundkey>gm_export_pkcs8rsa_0_3DES_CBC.001</foundkey>
       
   292 
       
   293 </actionbody>
       
   294 
       
   295 
       
   296 
       
   297 [SEC-TKEYSTORE_AUTHENTICATION1-0001-023]
       
   298 
       
   299 <actionbody>
       
   300 
       
   301 	<seconds>5</seconds>
       
   302 
       
   303 </actionbody>
       
   304 
       
   305 
       
   306