cryptoservices/filebasedcertificateandkeystores/test/tkeystore/scripts/exportscript_useauth.script
branchRCL_3
changeset 61 641f389e9157
equal deleted inserted replaced
60:f18401adf8e1 61:641f389e9157
       
     1 //
       
     2 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 // All rights reserved.
       
     4 // This component and the accompanying materials are made available
       
     5 // under the terms of the License "Eclipse Public License v1.0"
       
     6 // which accompanies this distribution, and is available
       
     7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 //
       
     9 // Initial Contributors:
       
    10 // Nokia Corporation - initial contribution.
       
    11 //
       
    12 // Contributors:
       
    13 //
       
    14 // Description: 
       
    15 //
       
    16 
       
    17 START_TESTCASE                SEC-EXPORTSCRIPT_USEAUTH-0001
       
    18 
       
    19 //! @SYMTestCaseID            SEC-EXPORTSCRIPT_USEAUTH-0001
       
    20 
       
    21 //! @SYMTestCaseDesc          //////////////////////////////////////////////////////////////////////////////////
       
    22 
       
    23 //!                           Exporting  a key
       
    24 
       
    25 //!                           //////////////////////////////////////////////////////////////////////////////////
       
    26 
       
    27 //! @SYMTestActions           1) Delete keystore data file
       
    28 
       
    29 //!                           2) 1.0.1 Opening key store in manager mode
       
    30 
       
    31 //!                           3) 1.0.2 NOT A TEST Delete everything ** Basic PKCS8 cleartext RSA key import/export**
       
    32 
       
    33 //!                           4) 1.0.1.0, Import a DH key
       
    34 
       
    35 //!                           5) 1.1.0 Import a RSA key
       
    36 
       
    37 //!                           6) 1.1.1 Import a RSA key
       
    38 
       
    39 //!                           7) 1.1.2 Import a RSA key
       
    40 
       
    41 //!                           8) 1.1.3 Import a RSA key
       
    42 
       
    43 //!                           9) 1.1.4 Import a RSA key
       
    44 
       
    45 //!                           10) 1.1.5 Export a RSA key
       
    46 
       
    47 //!                           11) 1.1.6 Export a RSA key
       
    48 
       
    49 //!                           12) 1.1.7 Export a RSA key
       
    50 
       
    51 //!                           13) 1.1.8 Export a RSA key
       
    52 
       
    53 //!                           14) 1.1.9 Export a RSA key
       
    54 
       
    55 //!                           15) 1.1.8 Export a public RSA key
       
    56 
       
    57 //!                           16) 1.1.8 Export a public RSA key
       
    58 
       
    59 //!                           17) 1.1.8 Export a public RSA key
       
    60 
       
    61 //!                           18) 1.1.8 Export a public RSA key
       
    62 
       
    63 //!                           19) 1.2.0 Import a RSA key from a previously exported one
       
    64 
       
    65 //!                           20) 1.2.1 Import a RSA key from a previously exported one
       
    66 
       
    67 //!                           21) 1.2.2 Import a RSA key from a previously exported one
       
    68 
       
    69 //!                           22) 1.2.3 Import a RSA key from a previously exported one
       
    70 
       
    71 //!                           23) 1.2.4 Import a RSA key from a previously exported one
       
    72 
       
    73 //!                           24) 1.3.0 Bitwise Comparison of original key and exported one (RSA, cleartext)
       
    74 
       
    75 //!                           25) 1.3.1 Bitwise Comparison of original key and exported one (RSA, cleartext)
       
    76 
       
    77 //!                           26) 1.3.2 Bitwise Comparison of original key and exported one (RSA, cleartext)
       
    78 
       
    79 //!                           27) 1.3.3 Bitwise Comparison of original key and exported one (RSA, cleartext)
       
    80 
       
    81 //!                           28) 1.3.4 Bitwise Comparison of original key and exported one (RSA, cleartext)
       
    82 
       
    83 //!                           29) 1.3.5 Bitwise Comparison of original key and exported one (RSA public)
       
    84 
       
    85 //!                           30) 1.3.6 Bitwise Comparison of original key and exported one (RSA public)
       
    86 
       
    87 //!                           31) 1.3.7 Bitwise Comparison of original key and exported one (RSA public)
       
    88 
       
    89 //!                           32) 1.3.8 Bitwise Comparison of original key and exported one (RSA public)
       
    90 
       
    91 //!                           33) 1.4.0 NOT A TEST Delete everything 
       
    92 
       
    93                     ** Basic PKCS8 cleartext DSA key import/export**
       
    94 
       
    95 //!                           34) 1.4.1 Import a DSA key
       
    96 
       
    97 //!                           35) 1.4.2 Import a DSA key
       
    98 
       
    99 //!                           36) 1.4.3 Import a DSA key
       
   100 
       
   101 //!                           37) 1.4.4 Import a DSA key
       
   102 
       
   103 //!                           38) 1.4.5 Import a DSA key
       
   104 
       
   105 //!                           39) 1.4.6 Export a DSA key
       
   106 
       
   107 //!                           40) 1.4.7 Export a DSA key
       
   108 
       
   109 //!                           41) 1.4.8 Export a DSA key
       
   110 
       
   111 //!                           42) 1.4.9 Export a DSA key
       
   112 
       
   113 //!                           43) 1.4.10 Export a DSA key
       
   114 
       
   115 //!                           44) 1.4.12 Export a DSA public key
       
   116 
       
   117 //!                           45) 1.4.13 Export a DSA public key
       
   118 
       
   119 //!                           46) 1.4.14 Export a DSA public key
       
   120 
       
   121 //!                           47) 1.4.15 Export a DSA public key
       
   122 
       
   123 //!                           48) 1.4.16 Export a DSA public key
       
   124 
       
   125 //!                           49) 1.4.1.5 Bitwise Comparison of original key and exported one (DSA public)
       
   126 
       
   127 //!                           50) 1.4.1.6 Bitwise Comparison of original key and exported one (DSA public)
       
   128 
       
   129 //!                           51) 1.4.1.7 Bitwise Comparison of original key and exported one (DSA public)
       
   130 
       
   131 //!                           52) 1.4.1.8 Bitwise Comparison of original key and exported one (DSA public)
       
   132 
       
   133 //!                           53) 1.4.1.9 Bitwise Comparison of original key and exported one (DSA public)
       
   134 
       
   135 //!                           54) 1.5.0 Import a DSA key from a previously exported one
       
   136 
       
   137 //!                           55) 1.5.1 Import a DSA key from a previously exported one
       
   138 
       
   139 //!                           56) 1.5.2 Import a DSA key from a previously exported one
       
   140 
       
   141 //!                           57) 1.5.3 Import a DSA key from a previously exported one
       
   142 
       
   143 //!                           58) 1.5.4 Import a DSA key from a previously exported one
       
   144 
       
   145 //!                           59) 1.6.0 Bitwise Comparison of original key and exported one (DSA, cleartext)
       
   146 
       
   147 //!                           60) 1.6.1 Bitwise Comparison of original key and exported one (DSA, cleartext)
       
   148 
       
   149 //!                           61) 1.6.2 Bitwise Comparison of original key and exported one (DSA, cleartext)
       
   150 
       
   151 //!                           62) 1.6.3 Bitwise Comparison of original key and exported one (DSA, cleartext)
       
   152 
       
   153 //!                           63) 1.6.4 Bitwise Comparison of original key and exported one (DSA, cleartext)
       
   154 
       
   155 //!                           64) 1.7.0 NOT A TEST Delete everything 
       
   156 
       
   157                     **Basic PKCS8 encrypted RSA key import/export**
       
   158 
       
   159 //!                           65) 1.7.1 Import a PKCS5 encrypted RSA key
       
   160 
       
   161 //!                           66) 1.7.2 Import a PKCS5 encrypted RSA key
       
   162 
       
   163 //!                           67) 1.7.3 Import a PKCS5 encrypted RSA key
       
   164 
       
   165 //!                           68) 1.7.4 Import a PKCS5 encrypted RSA key
       
   166 
       
   167 //!                           69) 1.7.5 Import a PKCS5 encrypted RSA key
       
   168 
       
   169 //!                           70) 1.7.6 Export a RSA key in encrypted format
       
   170 
       
   171 //!                           71) 1.7.7 Export a RSA key in encrypted format
       
   172 
       
   173 //!                           72) 1.7.8 Export a RSA key in encrypted format
       
   174 
       
   175 //!                           73) 1.7.8 Export a RSA key in encrypted format
       
   176 
       
   177 //!                           74) 1.7.9 Export a RSA key in encrypted format
       
   178 
       
   179 //!                           75) 1.7.10 Import a PKCS5 encrypted RSA key encrypted with 3DES
       
   180 
       
   181 //!                           76) 1.8.0 NOT A TEST Delete everything ** PKCS8 encrypted RSA export sanity check ** Import a clear text key. Export it encrypted. Import it. Export it clear text. Compare.
       
   182 
       
   183 //!                           77) 1.8.1 Import a RSA key
       
   184 
       
   185 //!                           78) 1.8.2 Export a RSA key in encrypted format
       
   186 
       
   187 //!                           79) 1.8.3 NOT A TEST Delete everything
       
   188 
       
   189 //!                           80) 1.8.4 Import a PKCS5 encrypted RSA key from the result of previous export action
       
   190 
       
   191 //!                           81) 1.8.5 Export a RSA key (cleartext) which has been imported from a
       
   192 
       
   193             generated encrypted pkcs8 file
       
   194 
       
   195 //!                           82) 1.8.6 Bitwise Comparison of original key and exported one
       
   196 
       
   197 //!                           83) 1.9.0 NOT A TEST Delete everything 
       
   198 
       
   199                     ** Basic PKCS8 encrypted DSA key import/export **
       
   200 
       
   201 //!                           84) 1.9.1 Import a PKCS5 encrypted DSA key
       
   202 
       
   203 //!                           85) 1.9.2 Import a PKCS5 encrypted DSA key
       
   204 
       
   205 //!                           86) 1.9.3 Import a PKCS5 encrypted DSA key
       
   206 
       
   207 //!                           87) 1.9.4 Import a PKCS5 encrypted DSA key
       
   208 
       
   209 //!                           88) 1.9.5 Import a PKCS5 encrypted DSA key
       
   210 
       
   211 //!                           89) 1.9.6 Export a DSA key in encrypted format
       
   212 
       
   213 //!                           90) 1.9.7 Export a DSA key in encrypted format
       
   214 
       
   215 //!                           91) 1.9.8 Export a DSA key in encrypted format
       
   216 
       
   217 //!                           92) 1.9.9 Export a DSA key in encrypted format
       
   218 
       
   219 //!                           93) 1.9.10 Export a DSA key in encrypted format
       
   220 
       
   221 //!                           94) 1.9.11 Export a DSA public key
       
   222 
       
   223 //!                           95) 1.10.0 NOT A TEST Delete everything 
       
   224 
       
   225                     ** Basic sanity check for PKCS8 encrypted DSA key import/export **
       
   226 
       
   227 //!                           96) 1.10.1 Import a DSA key
       
   228 
       
   229 //!                           97) 1.10.2 Export a DSA key in encrypted format
       
   230 
       
   231 //!                           98) 1.10.3 NOT A TEST Delete everything
       
   232 
       
   233 //!                           99) 1.10.4 Import a PKCS5 encrypted DSA key from a previously exported one
       
   234 
       
   235 //!                           100) 1.10.5 Export a DSA key (cleartext) which has been imported from a
       
   236 
       
   237             generated encrypted pkcs8 file
       
   238 
       
   239 //!                           101) 1.10.6 Bitwise Comparison of original key and exported one
       
   240 
       
   241 //!                           102) 1.11.0.0 NOT A TEST Delete everything 
       
   242 
       
   243                     ** Test import/export of weird encrypted pkcs8 **
       
   244 
       
   245 //!                           103) 1.11.0 Import a PKCS5 encrypted RSA key encrypted with 3DES
       
   246 
       
   247 //!                           104) 1.11.1 Import a PKCS5 encrypted RSA key encrypted with RC2
       
   248 
       
   249 //!                           105) 1.11.3 Try to Import a PKCS5 encrypted RSA key encrypted with RC4 (Unsupported)
       
   250 
       
   251 //!                           106) 1.11.4 Try to Import a PKCS5 encrypted DSA key encrypted with DES3 Broken Netscape format (Unsupported)
       
   252 
       
   253 //!                           107) 1.11.5 Try to Import a PKCS5 encrypted RSA key encrypted with DES3 Broken Nooctet format (Unsupported)
       
   254 
       
   255 //!                           108) 1.11.6 Try to Import a PKCS5 encrypted DSA key encrypted with DES3 Broken embed format (Unsupported)
       
   256 
       
   257 //!                           109) 1.12.0 NOT A TEST Delete everything 
       
   258 
       
   259                     ** key import/export of keys with optional PKC#8 attribuets **
       
   260 
       
   261 //!                           110) 1.12.1 Import a RSA key containing PKCS#8 attributes
       
   262 
       
   263 //!                           111) 1.12.2 Import a DSA key
       
   264 
       
   265 //!                           112) 1.12.3 Export a RSA key with optional PKCS8 attributes
       
   266 
       
   267 //!                           113) 1.12.4 Export a DSA key with optional PKCS#8 encryption
       
   268 
       
   269 //!                           114) 1.12.5 Bitwise Comparison of original key and exported one (RSA, attributes)
       
   270 
       
   271 //!                           115) 1.12.6 Bitwise Comparison of original key and exported one (DSA, attributes)
       
   272 
       
   273 //!                           116) 1.12.0.1 NOT A TEST Delete everything 
       
   274 
       
   275                     ** Sanity check all ciphers **
       
   276 
       
   277 //!                           117) 1.12.0.2 Import a RSA key
       
   278 
       
   279 //!                           118) 1.12.0.7 Export a RSA key with ECipher3DES_CBC
       
   280 
       
   281 //!                           119) 1.12.0.8 Export a RSA key with ECipherDES_CBC
       
   282 
       
   283 //!                           120) 1.12.0.9 Export a RSA key with ECipherRC2_CBC_40
       
   284 
       
   285 //!                           121) 1.12.0.10 Export a RSA key with ECipherRC2_CBC_128
       
   286 
       
   287 //!                           122) 1.12.0.9 Export a RSA key with ECipherRC2_CBC_40_16
       
   288 
       
   289 //!                           123) 1.12.0.10 Export a RSA key with ECipherRC2_CBC_128_16
       
   290 
       
   291 //!                           124) 1.12.0.11 Import a PKCS5 encrypted RSA key previously exported with ECipherRC2_CBC_40
       
   292 
       
   293 //!                           125) 1.12.0.12 Import a PKCS5 encrypted RSA key previously exported with ECipherRC2_CBC_128
       
   294 
       
   295 //!                           126) 1.12.0.11b Import a PKCS5 encrypted RSA key previously exported with ECipherRC2_CBC_40_16
       
   296 
       
   297 //!                           127) 1.12.0.12b Import a PKCS5 encrypted RSA key previously exported with ECipherRC2_CBC_128_16
       
   298 
       
   299 //!                           128) 1.12.0.13 Import a PKCS5 encrypted RSA key previously exported with ECipherDES_CBC
       
   300 
       
   301 //!                           129) 1.12.0.14 Import a PKCS5 encrypted RSA key previously exported with ECipher3DES_CBC
       
   302 
       
   303 //!                           130) 1.13.1 NOT A TEST Delete everything 
       
   304 
       
   305                     ** Test access modifiers Sensitive, AlwaysSensitive, Extractable and NeverExtractable **
       
   306 
       
   307 //!                           131) 1.13.1 Import a cleartext RSA key ** Cannot become AlwaysSensitive **
       
   308 
       
   309 //!                           132) 1.13.2 Check access settings ** Cannot be AlwaysSensitive **
       
   310 
       
   311 //!                           133) 1.13.2 Import a PKCS5 encrypted RSA key ** Must become AlwaysSensitive **
       
   312 
       
   313 //!                           134) 1.13.3 Check access settings ** Must be AlwaysSensitive **
       
   314 
       
   315 //!                           135) 1.13.4 Import a cleartext RSA key make it not extractable ** Cannot become NeverExtractable **
       
   316 
       
   317 //!                           136) 1.13.5 Check access settings ** Cannot be NeverExtractable **
       
   318 
       
   319 //!                           137) 1.13.6 Create a key, set the extractable flag ** Cannot be NeverExtractble **
       
   320 
       
   321 //!                           138) 1.13.7 Check access settings ** Cannot be NeverExtractable, must be AlwaysSensitive **
       
   322 
       
   323 //!                           139) 1.13.8 Create a key ** Must be NeverExtractble **
       
   324 
       
   325 //!                           140) 1.13.9 Check access settings ** Must be NeverExtractable, must be AlwaysSensitive **
       
   326 
       
   327 //!                           141) 1.13.X NOT A TEST Delete everything 
       
   328 
       
   329                     ** Test access modifiers Sensitive, AlwaysSensitive, Extractable and NeverExtractable **
       
   330 
       
   331 //!                           142) 1.14.1 Closing key store
       
   332 
       
   333 //!                           143) 1.14.2 Sleep 5 seconds
       
   334 
       
   335 //!                           144) 1.14.3 Check for server heap error
       
   336 
       
   337 RUN_TEST_STEP                 -1    CTestHandler        deletekeystoredata  
       
   338 
       
   339 RUN_TEST_STEP                 -1    CTestHandler        init                   exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-002
       
   340 
       
   341 RUN_TEST_STEP                 -1    CTestHandler        deletekeys          
       
   342 
       
   343 RUN_TEST_STEP !Error=-5       -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-004
       
   344 
       
   345 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-005
       
   346 
       
   347 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-006
       
   348 
       
   349 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-007
       
   350 
       
   351 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-008
       
   352 
       
   353 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-009
       
   354 
       
   355 RUN_TEST_STEP                 -1    CTestHandler        exportkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-010
       
   356 
       
   357 RUN_TEST_STEP                 -1    CTestHandler        exportkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-011
       
   358 
       
   359 RUN_TEST_STEP                 -1    CTestHandler        exportkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-012
       
   360 
       
   361 RUN_TEST_STEP                 -1    CTestHandler        exportkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-013
       
   362 
       
   363 RUN_TEST_STEP                 -1    CTestHandler        exportkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-014
       
   364 
       
   365 RUN_TEST_STEP                 -1    CTestHandler        exportpublickey        exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-015
       
   366 
       
   367 RUN_TEST_STEP                 -1    CTestHandler        exportpublickey        exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-016
       
   368 
       
   369 RUN_TEST_STEP                 -1    CTestHandler        exportpublickey        exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-017
       
   370 
       
   371 RUN_TEST_STEP                 -1    CTestHandler        exportpublickey        exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-018
       
   372 
       
   373 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-019
       
   374 
       
   375 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-020
       
   376 
       
   377 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-021
       
   378 
       
   379 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-022
       
   380 
       
   381 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-023
       
   382 
       
   383 RUN_TEST_STEP                 -1    CTestHandler        compare                exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-024
       
   384 
       
   385 RUN_TEST_STEP                 -1    CTestHandler        compare                exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-025
       
   386 
       
   387 RUN_TEST_STEP                 -1    CTestHandler        compare                exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-026
       
   388 
       
   389 RUN_TEST_STEP                 -1    CTestHandler        compare                exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-027
       
   390 
       
   391 RUN_TEST_STEP                 -1    CTestHandler        compare                exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-028
       
   392 
       
   393 RUN_TEST_STEP                 -1    CTestHandler        compare                exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-029
       
   394 
       
   395 RUN_TEST_STEP                 -1    CTestHandler        compare                exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-030
       
   396 
       
   397 RUN_TEST_STEP                 -1    CTestHandler        compare                exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-031
       
   398 
       
   399 RUN_TEST_STEP                 -1    CTestHandler        compare                exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-032
       
   400 
       
   401 RUN_TEST_STEP                 -1    CTestHandler        deletekeys          
       
   402 
       
   403 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-034
       
   404 
       
   405 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-035
       
   406 
       
   407 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-036
       
   408 
       
   409 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-037
       
   410 
       
   411 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-038
       
   412 
       
   413 RUN_TEST_STEP                 -1    CTestHandler        exportkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-039
       
   414 
       
   415 RUN_TEST_STEP                 -1    CTestHandler        exportkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-040
       
   416 
       
   417 RUN_TEST_STEP                 -1    CTestHandler        exportkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-041
       
   418 
       
   419 RUN_TEST_STEP                 -1    CTestHandler        exportkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-042
       
   420 
       
   421 RUN_TEST_STEP                 -1    CTestHandler        exportkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-043
       
   422 
       
   423 RUN_TEST_STEP                 -1    CTestHandler        exportpublickey        exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-044
       
   424 
       
   425 RUN_TEST_STEP                 -1    CTestHandler        exportpublickey        exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-045
       
   426 
       
   427 RUN_TEST_STEP                 -1    CTestHandler        exportpublickey        exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-046
       
   428 
       
   429 RUN_TEST_STEP                 -1    CTestHandler        exportpublickey        exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-047
       
   430 
       
   431 RUN_TEST_STEP                 -1    CTestHandler        exportpublickey        exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-048
       
   432 
       
   433 RUN_TEST_STEP                 -1    CTestHandler        compare                exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-049
       
   434 
       
   435 RUN_TEST_STEP                 -1    CTestHandler        compare                exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-050
       
   436 
       
   437 RUN_TEST_STEP                 -1    CTestHandler        compare                exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-051
       
   438 
       
   439 RUN_TEST_STEP                 -1    CTestHandler        compare                exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-052
       
   440 
       
   441 RUN_TEST_STEP                 -1    CTestHandler        compare                exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-053
       
   442 
       
   443 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-054
       
   444 
       
   445 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-055
       
   446 
       
   447 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-056
       
   448 
       
   449 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-057
       
   450 
       
   451 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-058
       
   452 
       
   453 RUN_TEST_STEP                 -1    CTestHandler        compare                exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-059
       
   454 
       
   455 RUN_TEST_STEP                 -1    CTestHandler        compare                exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-060
       
   456 
       
   457 RUN_TEST_STEP                 -1    CTestHandler        compare                exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-061
       
   458 
       
   459 RUN_TEST_STEP                 -1    CTestHandler        compare                exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-062
       
   460 
       
   461 RUN_TEST_STEP                 -1    CTestHandler        compare                exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-063
       
   462 
       
   463 RUN_TEST_STEP                 -1    CTestHandler        deletekeys          
       
   464 
       
   465 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-065
       
   466 
       
   467 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-066
       
   468 
       
   469 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-067
       
   470 
       
   471 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-068
       
   472 
       
   473 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-069
       
   474 
       
   475 RUN_TEST_STEP                 -1    CTestHandler        exportkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-070
       
   476 
       
   477 RUN_TEST_STEP                 -1    CTestHandler        exportkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-071
       
   478 
       
   479 RUN_TEST_STEP                 -1    CTestHandler        exportkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-072
       
   480 
       
   481 RUN_TEST_STEP                 -1    CTestHandler        exportkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-073
       
   482 
       
   483 RUN_TEST_STEP                 -1    CTestHandler        exportkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-074
       
   484 
       
   485 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-075
       
   486 
       
   487 RUN_TEST_STEP                 -1    CTestHandler        deletekeys          
       
   488 
       
   489 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-077
       
   490 
       
   491 RUN_TEST_STEP                 -1    CTestHandler        exportkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-078
       
   492 
       
   493 RUN_TEST_STEP                 -1    CTestHandler        deletekeys          
       
   494 
       
   495 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-080
       
   496 
       
   497 RUN_TEST_STEP                 -1    CTestHandler        exportkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-081
       
   498 
       
   499 RUN_TEST_STEP                 -1    CTestHandler        compare                exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-082
       
   500 
       
   501 RUN_TEST_STEP                 -1    CTestHandler        deletekeys          
       
   502 
       
   503 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-084
       
   504 
       
   505 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-085
       
   506 
       
   507 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-086
       
   508 
       
   509 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-087
       
   510 
       
   511 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-088
       
   512 
       
   513 RUN_TEST_STEP                 -1    CTestHandler        exportkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-089
       
   514 
       
   515 RUN_TEST_STEP                 -1    CTestHandler        exportkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-090
       
   516 
       
   517 RUN_TEST_STEP                 -1    CTestHandler        exportkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-091
       
   518 
       
   519 RUN_TEST_STEP                 -1    CTestHandler        exportkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-092
       
   520 
       
   521 RUN_TEST_STEP                 -1    CTestHandler        exportkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-093
       
   522 
       
   523 RUN_TEST_STEP                 -1    CTestHandler        exportkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-094
       
   524 
       
   525 RUN_TEST_STEP                 -1    CTestHandler        deletekeys          
       
   526 
       
   527 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-096
       
   528 
       
   529 RUN_TEST_STEP                 -1    CTestHandler        exportkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-097
       
   530 
       
   531 RUN_TEST_STEP                 -1    CTestHandler        deletekeys          
       
   532 
       
   533 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-099
       
   534 
       
   535 RUN_TEST_STEP                 -1    CTestHandler        exportkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-100
       
   536 
       
   537 RUN_TEST_STEP                 -1    CTestHandler        compare                exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-101
       
   538 
       
   539 RUN_TEST_STEP                 -1    CTestHandler        deletekeys          
       
   540 
       
   541 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-103
       
   542 
       
   543 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-104
       
   544 
       
   545 RUN_TEST_STEP !Error=-6       -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-105
       
   546 
       
   547 RUN_TEST_STEP !Error=-6       -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-106
       
   548 
       
   549 RUN_TEST_STEP !Error=-6       -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-107
       
   550 
       
   551 RUN_TEST_STEP !Error=-6       -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-108
       
   552 
       
   553 RUN_TEST_STEP                 -1    CTestHandler        deletekeys          
       
   554 
       
   555 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-110
       
   556 
       
   557 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-111
       
   558 
       
   559 RUN_TEST_STEP                 -1    CTestHandler        exportkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-112
       
   560 
       
   561 RUN_TEST_STEP                 -1    CTestHandler        exportkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-113
       
   562 
       
   563 RUN_TEST_STEP                 -1    CTestHandler        compare                exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-114
       
   564 
       
   565 RUN_TEST_STEP                 -1    CTestHandler        compare                exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-115
       
   566 
       
   567 RUN_TEST_STEP                 -1    CTestHandler        deletekeys          
       
   568 
       
   569 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-117
       
   570 
       
   571 RUN_TEST_STEP                 -1    CTestHandler        exportkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-118
       
   572 
       
   573 RUN_TEST_STEP                 -1    CTestHandler        exportkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-119
       
   574 
       
   575 RUN_TEST_STEP                 -1    CTestHandler        exportkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-120
       
   576 
       
   577 RUN_TEST_STEP                 -1    CTestHandler        exportkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-121
       
   578 
       
   579 RUN_TEST_STEP                 -1    CTestHandler        exportkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-122
       
   580 
       
   581 RUN_TEST_STEP                 -1    CTestHandler        exportkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-123
       
   582 
       
   583 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-124
       
   584 
       
   585 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-125
       
   586 
       
   587 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-126
       
   588 
       
   589 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-127
       
   590 
       
   591 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-128
       
   592 
       
   593 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-129
       
   594 
       
   595 RUN_TEST_STEP                 -1    CTestHandler        deletekeys          
       
   596 
       
   597 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-131
       
   598 
       
   599 RUN_TEST_STEP                 -1    CTestHandler        getkeyinfo             exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-132
       
   600 
       
   601 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-133
       
   602 
       
   603 RUN_TEST_STEP                 -1    CTestHandler        getkeyinfo             exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-134
       
   604 
       
   605 RUN_TEST_STEP                 -1    CTestHandler        importkey              exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-135
       
   606 
       
   607 RUN_TEST_STEP                 -1    CTestHandler        getkeyinfo             exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-136
       
   608 
       
   609 RUN_TEST_STEP                 -1    CTestHandler        addkey                 exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-137
       
   610 
       
   611 RUN_TEST_STEP                 -1    CTestHandler        getkeyinfo             exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-138
       
   612 
       
   613 RUN_TEST_STEP                 -1    CTestHandler        addkey                 exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-139
       
   614 
       
   615 RUN_TEST_STEP                 -1    CTestHandler        getkeyinfo             exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-140
       
   616 
       
   617 RUN_TEST_STEP                 -1    CTestHandler        deletekeys          
       
   618 
       
   619 RUN_TEST_STEP                 -1    CTestHandler        delete              
       
   620 
       
   621 RUN_TEST_STEP                 -1    CTestHandler        sleep                  exportscript_useauth.ini   SEC-EXPORTSCRIPT_USEAUTH-0001-143
       
   622 
       
   623 RUN_TEST_STEP                 -1    CTestHandler        checkserverheaperror
       
   624 
       
   625 END_TESTCASE                  SEC-EXPORTSCRIPT_USEAUTH-0001
       
   626 
       
   627 
       
   628 
       
   629 
       
   630