os/security/cryptoservices/filebasedcertificateandkeystores/test/ttesttools/scripts/sec-filetokens-tools.ini
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 [certhelp]
     2 actualoutput=c:\output.txt
     3 numlines=5
     4 line0=Usage
     5 line1= certtool 	 [{-list -l} {-liststores -ls} {-import -i} {-remove -r} 
     6 line2={-addapps -a } {-setapps} {-removeapps} {-page -p } {-help -h}] {CertificateLabel}
     7 line3=Type certtool -h {CommandName} for details on a particular command.
     8 line4=Type certtool -h noninteractive for details on how to run the commands in noninteractive mode.
     9 
    10 [certhelp_individual]
    11 actualoutput=c:\output.txt
    12 numlines=1
    13 line0=-liststores | -ls List the certstore implementations available on the device.
    14 
    15 [certtool_liststores]
    16 actualoutput=c:\output.txt
    17 liststore=1
    18 
    19 [certtool_import_store0]
    20 expectedlabel1=wtls2
    21 expectedlabel2=c:\tcertstore\ent-wtls2.cer
    22 
    23 [certtool_import_store1]
    24 expectedlabel1=wtls1
    25 
    26 [certtool_import_store01twice]
    27 expectedlabel1=wtls
    28 numtimes=2
    29 
    30 [certtool_import_keycert]
    31 expectedlabel1=usercert
    32 
    33 
    34 [certtool_setapps]
    35 expectedlabel1=wtls1
    36 numapps=2
    37 apps0=ssl/tls
    38 apps1=midletinstall
    39 
    40 [certtool_addapps]
    41 expectedlabel1=wtls1
    42 numapps=3
    43 apps0=ssl/tls
    44 apps1=midletinstall
    45 apps2=swinstall
    46 
    47 [certtool_removeapps]
    48 expectedlabel1=wtls1
    49 numapps=2
    50 apps0=midletinstall
    51 apps1=swinstall
    52 
    53 [certtool_list]
    54 actualoutput=c:\output.txt
    55 
    56 [certtool_list_store]
    57 actualoutput=c:\output.txt
    58 store=1
    59 
    60 [certtool_list_cert]
    61 expectedlabel1=wtls1
    62 
    63 [certtool_list_certowner]
    64 actualoutput=c:\output.txt
    65 owner=ca
    66 
    67 [certtool_remove1]
    68 expectedlabel1=wtls
    69 numtimes=0
    70 
    71 [certtool_remove2]
    72 expectedlabel1=wtls1
    73 numtimes=0
    74 
    75 [certtool_remove3]
    76 expectedlabel1=wtls2
    77 numtimes=0
    78 
    79 [certtool_removekey]
    80 expectedlabel1=usercert
    81 numtimes=0
    82 
    83 [keytool_help]
    84 actualoutput=c:\output.txt
    85 numlines=5
    86 line0=Usage
    87 line1= keytool 	[{-list -l} {-liststores -ls} {-import -i} {-remove -r} 
    88 line2={-page -p } {-help -h} {-setuser -s} {-setallusers -a} {-removeuser -ru} {-setmanager -m}] {KeyLabel}
    89 line3=Type keytool -h {CommandName} for details on a particular command.
    90 line4=Type keytool -h noninteractive for details on how to run the commands in noninteractive mode.
    91 
    92 [keytool_help_individual]
    93 actualoutput=c:\output.txt
    94 numlines=1
    95 line0=-setuser uid KeyLabel Sets the given UID as the user of the specified key. UID is interpreted as hexadecimal number.
    96 
    97 [keytool_liststores]
    98 actualoutput=c:\output.txt
    99 liststore=1
   100 
   101 
   102 [keytool_import_key]
   103 expectedlabel1=pkcs2
   104 expectedlabel2=c:\tkeystore\data\pkcs8dsa2.001
   105 
   106 [keytool_import_key_store1]
   107 expectedlabel1=pkcs3
   108 
   109 [keytool_import_key_store01twice]
   110 expectedlabel1=pkcs4
   111 numtimes=2
   112 
   113 [keytool_list]
   114 actualoutput=c:\output.txt
   115 
   116 [keytool_list_store]
   117 actualoutput=c:\output.txt
   118 store=0
   119 
   120 [keytool_list_key]
   121 expectedlabel1=pkcs2
   122 
   123 [keytool_remove]
   124 expectedlabel1=pkcs2
   125 numtimes=0
   126 
   127 [keytool_setuser]
   128 expectedlabel1=pkcs4
   129 user=1
   130 expecteduser=305441741
   131 
   132 [keytool_setallusers]
   133 expectedlabel1=pkcs4
   134 user=1
   135 expecteduser=All
   136 
   137 [keytool_setmanager]
   138 expectedlabel1=pkcs4
   139 user=2
   140 expecteduser=WriteDeviceData
   141 
   142 [keytool_removeuser]
   143 expectedlabel1=pkcs4
   144 user=1
   145 expecteduser=271064114
   146 
   147 [certtoolkey_keytoolmanage]
   148 expectedlabel1=pkcs4
   149 user=1
   150 expecteduser=305441741
   151 
   152 [certtoolkey_keytoolmanage1]
   153 expectedlabel1=pkcs4
   154 user=2
   155 expecteduser=WriteDeviceData
   156 
   157 [certtool_helpfail]
   158 expected=c:\ttesttools\data\output31.txt
   159 actual=c:\output.txt
   160 
   161 [certtool_individual_helpfail]
   162 expected=c:\ttesttools\data\output32.txt
   163 actual=c:\output.txt
   164 
   165 [certtool_liststoresfail]
   166 actualoutput=c:\output.txt
   167 liststore=1
   168 
   169 [certtool_import_twicefail]
   170 actualoutput=c:\output.txt
   171 expectederror=The given label is invalid, or already present in the certstore.
   172 
   173 [certtool_import_emptycertstorefail]
   174 actualoutput=c:\output.txt
   175 expectederror=The specified certstore implementation does not exist.
   176 
   177 [certtool_import_nonexistfail]
   178 actualoutput=c:\output.txt
   179 expectederror=Cannot open certificate file.
   180 
   181 [certtool_import_corruptcertfail]
   182 actualoutput=c:\output.txt
   183 expectederror=An error occured during certificate import.
   184 
   185 [certtool_import_emptycertfail]
   186 actualoutput=c:\output.txt
   187 expectederror=The specified certificate file appears to be empty.
   188 
   189 [certtool_setapps_invalidfail]
   190 actualoutput=c:\output.txt
   191 expectederror=No valid applications specified, try one of
   192 
   193 
   194 [certtool_setapps_userfail]
   195 actualoutput=c:\output.txt
   196 expectederror=An Unknown error occured while adding the applicability.
   197 
   198 [certtool_addapps_invalidfail]
   199 actualoutput=c:\output.txt
   200 expectederror=No valid applications specified, try one of
   201 
   202 [certtool_addapps_userfail]
   203 actualoutput=c:\output.txt
   204 expectederror=An Unknown error occured while adding the applicability.
   205 
   206 [certtool_removeapps_invalidfail]
   207 actualoutput=c:\output.txt
   208 expectederror=No valid applications specified, try one of
   209 
   210 [certtool_removeapps_untrustfail]
   211 actualoutput=c:\output.txt
   212 expectederror=The certificate wan not trusted for application SWInstall.
   213 
   214 [certtool_list_fail]
   215 actualoutput=c:\output.txt
   216 expectederror=The specified certstore implementation does not exist.
   217 
   218 [certtool_list_fail1]
   219 actualoutput=c:\output.txt
   220 expectederror=Cannot find the specified Certificate
   221 
   222 [certtool_list_fail2]
   223 actualoutput=c:\output.txt
   224 expectederror=No Certificate Exist
   225 
   226 [certtool_remove_fail]
   227 actualoutput=c:\output.txt
   228 expectederror=Cannot find the specified certificate.
   229 
   230 [keytool_liststore_fail]
   231 expected=c:\ttesttools\data\output52.txt
   232 actual=c:\output.txt
   233 
   234 [keytool_import_fail]
   235 actualoutput=c:\output.txt
   236 expectederror=An error occured during key import.
   237 
   238 
   239 [keytool_import_fail1]
   240 actualoutput=c:\output.txt
   241 expectederror=The specified keystore implementation does not exist.
   242 
   243 [keytool_import_fail2]
   244 actualoutput=c:\output.txt
   245 expectederror=Cannot open key file.
   246 
   247 [keytool_import_fail3]
   248 actualoutput=c:\output.txt
   249 expectederror=An error occured during key import.
   250 
   251 [keytool_import_fail4]
   252 actualoutput=c:\output.txt
   253 expectederror=The specified key file appears to be empty.
   254 
   255 [keytool_setuser_fail]
   256 actualoutput=c:\output.txt
   257 expectederror=Cannot find the specified key.
   258 
   259 [keytool_setuser_fail1]
   260 actualoutput=c:\output.txt
   261 expectederror=User set failed.
   262 
   263 [keytool_setallusers_fail]
   264 actualoutput=c:\output.txt
   265 expectederror=Cannot find the specified key.
   266 
   267 [keytool_setallusers_fail1]
   268 actualoutput=c:\output.txt
   269 expectederror=AllUsers set failed.
   270 
   271 [keytool_setmanager_fail]
   272 actualoutput=c:\output.txt
   273 expectederror=Cannot find the specified key.
   274 
   275 [keytool_setmanager_fail1]
   276 actualoutput=c:\output.txt
   277 expectederror=manager set failed.
   278 
   279 [keytool_removeuser_fail]
   280 actualoutput=c:\output.txt
   281 expectederror=Cannot find the specified key.
   282 
   283 [keytool_removeuser_fail1]
   284 actualoutput=c:\output.txt
   285 expectederror=Users removal failed.
   286 
   287 [keytool_list_fail]
   288 actualoutput=c:\output.txt
   289 expectederror=The specified keystore implementation does not exist.
   290 
   291 [keytool_list_fail1]
   292 actualoutput=c:\output.txt
   293 expectederror=Cannot find the specified key.
   294 
   295 [keytool_remove_fail]
   296 actualoutput=c:\output.txt
   297 expectederror=Cannot find the specified key.
   298 
   299 [certtool_import]
   300 expectedlabel1=c:\tcertstore\data\cert_dsa1.der
   301 
   302 [certtool_setapps1]
   303 actualoutput=c:\output.txt
   304 expectedlabel1=c:\tcertstore\ent-wtls1.cer
   305 numapps=1
   306 apps0=SSL/TLS
   307 
   308 [certtool_setapps2]
   309 expectedlabel1=c:\tcertstore\ent-wtls1.cer
   310 trust=1
   311 
   312 [certtool_addapps1]
   313 actualoutput=c:\output.txt
   314 expectedlabel1=c:\tcertstore\ent-wtls1.cer
   315 numapps=1
   316 apps0=SSL/TLS
   317 
   318 [certtool_addapps2]
   319 expectedlabel1=c:\tcertstore\ent-wtls1.cer
   320 trust=1
   321 
   322 [certtool_importdeletable1]
   323 expectedlabel1=deletableimport1 
   324 
   325 [certtool_importdeletable2]
   326 expectedlabel1=deletableimport2
   327 
   328 [certtool_importdeletable3]
   329 actualoutput=c:\output.txt
   330 expectederror=An error occured during certificate import.
   331 
   332 [certtool_removedeletable1]
   333 actualoutput=c:\output.txt
   334 expectederror=Certificate removed successfully.
   335 
   336 [certtool_removedeletable2]
   337 actualoutput=c:\output.txt
   338 expectederror=Certificate removed successfully.
   339