cryptoservices/filebasedcertificateandkeystores/test/tkeystore/scripts/tkeystore_authentication1.ini
changeset 15 da2ae96f639b
parent 8 35751d3474b7
equal deleted inserted replaced
10:afc583cfa176 15:da2ae96f639b
     1 [SEC-TKEYSTORE_AUTHENTICATION1-0001-002]
     1 [SEC-TKEYSTORE_AUTHENTICATION1-0001-002]
     2 <actionbody>
     2 
       
     3 <actionbody>
       
     4 
     3 	<mode>manager</mode>
     5 	<mode>manager</mode>
       
     6 
     4 	<CheckKeyStoreLabel>1</CheckKeyStoreLabel>
     7 	<CheckKeyStoreLabel>1</CheckKeyStoreLabel>
       
     8 
     5 	<keystoreindex>2</keystoreindex>
     9 	<keystoreindex>2</keystoreindex>
       
    10 
     6 	<keystorelabel>Dummy KeyStore Manager1</keystorelabel>
    11 	<keystorelabel>Dummy KeyStore Manager1</keystorelabel>
     7 </actionbody>
    12 
       
    13 </actionbody>
       
    14 
       
    15 
     8 
    16 
     9 [SEC-TKEYSTORE_AUTHENTICATION1-0001-004]
    17 [SEC-TKEYSTORE_AUTHENTICATION1-0001-004]
    10 <actionbody>
    18 
       
    19 <actionbody>
       
    20 
    11 	<mode>manager</mode>
    21 	<mode>manager</mode>
       
    22 
    12 	<CheckKeyStoreLabel>1</CheckKeyStoreLabel>
    23 	<CheckKeyStoreLabel>1</CheckKeyStoreLabel>
       
    24 
    13 	<keystoreindex>4</keystoreindex>
    25 	<keystoreindex>4</keystoreindex>
       
    26 
    14 	<keystorelabel>Dummy KeyStore Manager1</keystorelabel>
    27 	<keystorelabel>Dummy KeyStore Manager1</keystorelabel>
    15 </actionbody>
    28 
       
    29 </actionbody>
       
    30 
       
    31 
    16 
    32 
    17 [SEC-TKEYSTORE_AUTHENTICATION1-0001-006]
    33 [SEC-TKEYSTORE_AUTHENTICATION1-0001-006]
    18 <actionbody>
    34 
       
    35 <actionbody>
       
    36 
    19 	<mode>manager</mode>
    37 	<mode>manager</mode>
       
    38 
    20 	<CheckStoreCount>1</CheckStoreCount>
    39 	<CheckStoreCount>1</CheckStoreCount>
       
    40 
    21 	<KeyStoreCount>4</KeyStoreCount>
    41 	<KeyStoreCount>4</KeyStoreCount>
       
    42 
    22 	<KeyStoreManagerCount>3</KeyStoreManagerCount>
    43 	<KeyStoreManagerCount>3</KeyStoreManagerCount>
    23 </actionbody>
    44 
       
    45 </actionbody>
       
    46 
       
    47 
    24 
    48 
    25 [SEC-TKEYSTORE_AUTHENTICATION1-0001-007]
    49 [SEC-TKEYSTORE_AUTHENTICATION1-0001-007]
    26 <actionbody>
    50 
       
    51 <actionbody>
       
    52 
    27 	<mode>manager</mode>
    53 	<mode>manager</mode>
    28 </actionbody>
    54 
       
    55 </actionbody>
       
    56 
       
    57 
    29 
    58 
    30 [SEC-TKEYSTORE_AUTHENTICATION1-0001-008]
    59 [SEC-TKEYSTORE_AUTHENTICATION1-0001-008]
    31 <actionbody>
    60 
       
    61 <actionbody>
       
    62 
    32 	<keyusage>Derive</keyusage>
    63 	<keyusage>Derive</keyusage>
       
    64 
    33 	<keysize>512</keysize>
    65 	<keysize>512</keysize>
    34 	<keylabel>cheeku</keylabel>
    66 
       
    67 	<keylabel>cheeku</keylabel>
       
    68 
    35 	<keyalgorithm>DH</keyalgorithm>
    69 	<keyalgorithm>DH</keyalgorithm>
    36 	<keyaccesstype>Extractable</keyaccesstype>
    70 
    37 	<keystore>1</keystore>
    71 	<keyaccesstype>Extractable</keyaccesstype>
       
    72 
       
    73 	<keystore>0</keystore>
       
    74 
    38 	<authexpression>strong</authexpression>
    75 	<authexpression>strong</authexpression>
       
    76 
    39 	<freshness>0</freshness>
    77 	<freshness>0</freshness>
    40 </actionbody>
    78 
       
    79 </actionbody>
       
    80 
       
    81 
    41 
    82 
    42 [SEC-TKEYSTORE_AUTHENTICATION1-0001-009]
    83 [SEC-TKEYSTORE_AUTHENTICATION1-0001-009]
    43 <actionbody>
    84 
       
    85 <actionbody>
       
    86 
    44 	<keyusage>Derive</keyusage>
    87 	<keyusage>Derive</keyusage>
       
    88 
    45 	<keysize>512</keysize>
    89 	<keysize>512</keysize>
    46 	<keylabel>cheeku</keylabel>
    90 
       
    91 	<keylabel>cheeku</keylabel>
       
    92 
    47 	<keyalgorithm>DH</keyalgorithm>
    93 	<keyalgorithm>DH</keyalgorithm>
    48 	<keyaccesstype>Extractable</keyaccesstype>
    94 
       
    95 	<keyaccesstype>Extractable</keyaccesstype>
       
    96 
    49 	<keyaccesstype>Local</keyaccesstype>
    97 	<keyaccesstype>Local</keyaccesstype>
    50 </actionbody>
    98 
       
    99 </actionbody>
       
   100 
       
   101 
    51 
   102 
    52 [SEC-TKEYSTORE_AUTHENTICATION1-0001-010]
   103 [SEC-TKEYSTORE_AUTHENTICATION1-0001-010]
    53 <actionbody>
   104 
       
   105 <actionbody>
       
   106 
    54 	<authmode>set</authmode>
   107 	<authmode>set</authmode>
    55 	<keylabel>cheeku</keylabel>
   108 
       
   109 	<keylabel>cheeku</keylabel>
       
   110 
    56 	<authexpression>medium</authexpression>
   111 	<authexpression>medium</authexpression>
       
   112 
    57 	<freshness>21</freshness>
   113 	<freshness>21</freshness>
    58 </actionbody>
   114 
       
   115 </actionbody>
       
   116 
       
   117 
    59 
   118 
    60 [SEC-TKEYSTORE_AUTHENTICATION1-0001-011]
   119 [SEC-TKEYSTORE_AUTHENTICATION1-0001-011]
    61 <actionbody>
   120 
       
   121 <actionbody>
       
   122 
    62 	<authmode>get</authmode>
   123 	<authmode>get</authmode>
    63 	<keylabel>cheeku</keylabel>
   124 
       
   125 	<keylabel>cheeku</keylabel>
       
   126 
    64 	<expectedexpression>medium</expectedexpression>
   127 	<expectedexpression>medium</expectedexpression>
       
   128 
    65 	<expectedfreshness>21</expectedfreshness>
   129 	<expectedfreshness>21</expectedfreshness>
    66 </actionbody>
   130 
       
   131 </actionbody>
       
   132 
       
   133 
    67 
   134 
    68 [SEC-TKEYSTORE_AUTHENTICATION1-0001-012]
   135 [SEC-TKEYSTORE_AUTHENTICATION1-0001-012]
    69 <actionbody>
   136 
       
   137 <actionbody>
       
   138 
    70 	<keyusage>Derive</keyusage>
   139 	<keyusage>Derive</keyusage>
       
   140 
    71 	<keysize>512</keysize>
   141 	<keysize>512</keysize>
    72 	<keylabel>cheeku</keylabel>
   142 
       
   143 	<keylabel>cheeku</keylabel>
       
   144 
    73 	<keyalgorithm>DH</keyalgorithm>
   145 	<keyalgorithm>DH</keyalgorithm>
    74 	<keyaccesstype>Extractable</keyaccesstype>
   146 
       
   147 	<keyaccesstype>Extractable</keyaccesstype>
       
   148 
    75 	<keyaccesstype>Local</keyaccesstype>
   149 	<keyaccesstype>Local</keyaccesstype>
    76 </actionbody>
   150 
       
   151 </actionbody>
       
   152 
       
   153 
    77 
   154 
    78 [SEC-TKEYSTORE_AUTHENTICATION1-0001-013]
   155 [SEC-TKEYSTORE_AUTHENTICATION1-0001-013]
    79 <actionbody>
   156 
    80 	<listcount>2</listcount>
   157 <actionbody>
       
   158 
    81 	<foundkey>cheeku</foundkey>
   159 	<foundkey>cheeku</foundkey>
       
   160 
    82 		<foundkey>cheeku</foundkey>
   161 		<foundkey>cheeku</foundkey>
    83 </actionbody>
   162 
       
   163 </actionbody>
       
   164 
       
   165 
    84 
   166 
    85 [SEC-TKEYSTORE_AUTHENTICATION1-0001-014]
   167 [SEC-TKEYSTORE_AUTHENTICATION1-0001-014]
    86 <actionbody>
   168 
       
   169 <actionbody>
       
   170 
    87 	<ExportFile>export_DHkey.001</ExportFile>
   171 	<ExportFile>export_DHkey.001</ExportFile>
       
   172 
    88 	<keyusage>Derive</keyusage>
   173 	<keyusage>Derive</keyusage>
    89 	<keylabel>cheeku</keylabel>
   174 
       
   175 	<keylabel>cheeku</keylabel>
       
   176 
    90 	<keyalgorithm>DH</keyalgorithm>
   177 	<keyalgorithm>DH</keyalgorithm>
       
   178 
    91 	<encrypted>0</encrypted>
   179 	<encrypted>0</encrypted>
    92 </actionbody>
   180 
       
   181 </actionbody>
       
   182 
       
   183 
    93 
   184 
    94 [SEC-TKEYSTORE_AUTHENTICATION1-0001-015]
   185 [SEC-TKEYSTORE_AUTHENTICATION1-0001-015]
    95 <actionbody>
   186 
       
   187 <actionbody>
       
   188 
    96 	<ImportData>pkcs8rsa.001</ImportData>
   189 	<ImportData>pkcs8rsa.001</ImportData>
       
   190 
    97 	<keyusage>allusagesbutNR</keyusage>
   191 	<keyusage>allusagesbutNR</keyusage>
       
   192 
    98 	<keylabel>gm0</keylabel>
   193 	<keylabel>gm0</keylabel>
    99 	<keyaccesstype>Extractable</keyaccesstype>
   194 
       
   195 	<keyaccesstype>Extractable</keyaccesstype>
       
   196 
   100 	<authexpression>strong</authexpression>
   197 	<authexpression>strong</authexpression>
       
   198 
   101 	<freshness>25</freshness>
   199 	<freshness>25</freshness>
   102 </actionbody>
   200 
       
   201 </actionbody>
       
   202 
       
   203 
   103 
   204 
   104 [SEC-TKEYSTORE_AUTHENTICATION1-0001-016]
   205 [SEC-TKEYSTORE_AUTHENTICATION1-0001-016]
   105 <actionbody>
   206 
       
   207 <actionbody>
       
   208 
   106 	<ExportFile>export_pkcs8rsa_0.001</ExportFile>
   209 	<ExportFile>export_pkcs8rsa_0.001</ExportFile>
       
   210 
   107 	<keyusage>allusagesbutNR</keyusage>
   211 	<keyusage>allusagesbutNR</keyusage>
       
   212 
   108 	<keylabel>gm0</keylabel>
   213 	<keylabel>gm0</keylabel>
       
   214 
   109 	<keyalgorithm>RSA</keyalgorithm>
   215 	<keyalgorithm>RSA</keyalgorithm>
       
   216 
   110 	<encrypted>0</encrypted>
   217 	<encrypted>0</encrypted>
   111 </actionbody>
   218 
       
   219 </actionbody>
       
   220 
       
   221 
   112 
   222 
   113 [SEC-TKEYSTORE_AUTHENTICATION1-0001-017]
   223 [SEC-TKEYSTORE_AUTHENTICATION1-0001-017]
   114 <actionbody>
   224 
       
   225 <actionbody>
       
   226 
   115 	<authmode>set</authmode>
   227 	<authmode>set</authmode>
       
   228 
   116 	<keylabel>gm0</keylabel>
   229 	<keylabel>gm0</keylabel>
       
   230 
   117 	<authexpression>medium</authexpression>
   231 	<authexpression>medium</authexpression>
       
   232 
   118 	<freshness>0</freshness>
   233 	<freshness>0</freshness>
   119 </actionbody>
   234 
       
   235 </actionbody>
       
   236 
       
   237 
   120 
   238 
   121 [SEC-TKEYSTORE_AUTHENTICATION1-0001-018]
   239 [SEC-TKEYSTORE_AUTHENTICATION1-0001-018]
   122 <actionbody>
   240 
       
   241 <actionbody>
       
   242 
   123 	<ExportFile>export_pkcs8rsa_0.001</ExportFile>
   243 	<ExportFile>export_pkcs8rsa_0.001</ExportFile>
       
   244 
   124 	<keyusage>allusagesbutNR</keyusage>
   245 	<keyusage>allusagesbutNR</keyusage>
       
   246 
   125 	<keylabel>gm0</keylabel>
   247 	<keylabel>gm0</keylabel>
       
   248 
   126 	<keyalgorithm>RSA</keyalgorithm>
   249 	<keyalgorithm>RSA</keyalgorithm>
       
   250 
   127 	<encrypted>0</encrypted>
   251 	<encrypted>0</encrypted>
   128 </actionbody>
   252 
       
   253 </actionbody>
       
   254 
       
   255 
   129 
   256 
   130 [SEC-TKEYSTORE_AUTHENTICATION1-0001-019]
   257 [SEC-TKEYSTORE_AUTHENTICATION1-0001-019]
   131 <actionbody>
   258 
       
   259 <actionbody>
       
   260 
   132 	<ImportData>export_pkcs8rsa_0_3DES_CBC.001</ImportData>
   261 	<ImportData>export_pkcs8rsa_0_3DES_CBC.001</ImportData>
       
   262 
   133 	<keyusage>allusagesbutNR</keyusage>
   263 	<keyusage>allusagesbutNR</keyusage>
       
   264 
   134 	<keylabel>gm_export_pkcs8rsa_0_3DES_CBC.001</keylabel>
   265 	<keylabel>gm_export_pkcs8rsa_0_3DES_CBC.001</keylabel>
       
   266 
   135 	<keyalgorithm>RSA</keyalgorithm>
   267 	<keyalgorithm>RSA</keyalgorithm>
   136 	<keyaccesstype>Extractable</keyaccesstype>
   268 
       
   269 	<keyaccesstype>Extractable</keyaccesstype>
       
   270 
   137 	<encrypted>1</encrypted>
   271 	<encrypted>1</encrypted>
       
   272 
   138 	<passphrase>import clanger</passphrase>
   273 	<passphrase>import clanger</passphrase>
       
   274 
   139 	<authexpression>strong</authexpression>
   275 	<authexpression>strong</authexpression>
       
   276 
   140 	<freshness>50</freshness>
   277 	<freshness>50</freshness>
   141 </actionbody>
   278 
       
   279 </actionbody>
       
   280 
       
   281 
   142 
   282 
   143 [SEC-TKEYSTORE_AUTHENTICATION1-0001-020]
   283 [SEC-TKEYSTORE_AUTHENTICATION1-0001-020]
   144 <actionbody>
   284 
       
   285 <actionbody>
       
   286 
   145 	<keyalgorithm>RSA</keyalgorithm>
   287 	<keyalgorithm>RSA</keyalgorithm>
   146 	<listcount>2</listcount>
   288 
   147 	<foundkey>gm0</foundkey>
   289 	<foundkey>gm0</foundkey>
       
   290 
   148 	<foundkey>gm_export_pkcs8rsa_0_3DES_CBC.001</foundkey>
   291 	<foundkey>gm_export_pkcs8rsa_0_3DES_CBC.001</foundkey>
   149 </actionbody>
   292 
       
   293 </actionbody>
       
   294 
       
   295 
   150 
   296 
   151 [SEC-TKEYSTORE_AUTHENTICATION1-0001-023]
   297 [SEC-TKEYSTORE_AUTHENTICATION1-0001-023]
   152 <actionbody>
   298 
       
   299 <actionbody>
       
   300 
   153 	<seconds>5</seconds>
   301 	<seconds>5</seconds>
   154 </actionbody>
   302 
   155 
   303 </actionbody>
       
   304 
       
   305 
       
   306