os/security/cryptoservices/filebasedcertificateandkeystores/test/ttesttools/scripts/sec-filetokens-tools.ini
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/security/cryptoservices/filebasedcertificateandkeystores/test/ttesttools/scripts/sec-filetokens-tools.ini Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,339 @@
1.4 +[certhelp]
1.5 +actualoutput=c:\output.txt
1.6 +numlines=5
1.7 +line0=Usage
1.8 +line1= certtool [{-list -l} {-liststores -ls} {-import -i} {-remove -r}
1.9 +line2={-addapps -a } {-setapps} {-removeapps} {-page -p } {-help -h}] {CertificateLabel}
1.10 +line3=Type certtool -h {CommandName} for details on a particular command.
1.11 +line4=Type certtool -h noninteractive for details on how to run the commands in noninteractive mode.
1.12 +
1.13 +[certhelp_individual]
1.14 +actualoutput=c:\output.txt
1.15 +numlines=1
1.16 +line0=-liststores | -ls List the certstore implementations available on the device.
1.17 +
1.18 +[certtool_liststores]
1.19 +actualoutput=c:\output.txt
1.20 +liststore=1
1.21 +
1.22 +[certtool_import_store0]
1.23 +expectedlabel1=wtls2
1.24 +expectedlabel2=c:\tcertstore\ent-wtls2.cer
1.25 +
1.26 +[certtool_import_store1]
1.27 +expectedlabel1=wtls1
1.28 +
1.29 +[certtool_import_store01twice]
1.30 +expectedlabel1=wtls
1.31 +numtimes=2
1.32 +
1.33 +[certtool_import_keycert]
1.34 +expectedlabel1=usercert
1.35 +
1.36 +
1.37 +[certtool_setapps]
1.38 +expectedlabel1=wtls1
1.39 +numapps=2
1.40 +apps0=ssl/tls
1.41 +apps1=midletinstall
1.42 +
1.43 +[certtool_addapps]
1.44 +expectedlabel1=wtls1
1.45 +numapps=3
1.46 +apps0=ssl/tls
1.47 +apps1=midletinstall
1.48 +apps2=swinstall
1.49 +
1.50 +[certtool_removeapps]
1.51 +expectedlabel1=wtls1
1.52 +numapps=2
1.53 +apps0=midletinstall
1.54 +apps1=swinstall
1.55 +
1.56 +[certtool_list]
1.57 +actualoutput=c:\output.txt
1.58 +
1.59 +[certtool_list_store]
1.60 +actualoutput=c:\output.txt
1.61 +store=1
1.62 +
1.63 +[certtool_list_cert]
1.64 +expectedlabel1=wtls1
1.65 +
1.66 +[certtool_list_certowner]
1.67 +actualoutput=c:\output.txt
1.68 +owner=ca
1.69 +
1.70 +[certtool_remove1]
1.71 +expectedlabel1=wtls
1.72 +numtimes=0
1.73 +
1.74 +[certtool_remove2]
1.75 +expectedlabel1=wtls1
1.76 +numtimes=0
1.77 +
1.78 +[certtool_remove3]
1.79 +expectedlabel1=wtls2
1.80 +numtimes=0
1.81 +
1.82 +[certtool_removekey]
1.83 +expectedlabel1=usercert
1.84 +numtimes=0
1.85 +
1.86 +[keytool_help]
1.87 +actualoutput=c:\output.txt
1.88 +numlines=5
1.89 +line0=Usage
1.90 +line1= keytool [{-list -l} {-liststores -ls} {-import -i} {-remove -r}
1.91 +line2={-page -p } {-help -h} {-setuser -s} {-setallusers -a} {-removeuser -ru} {-setmanager -m}] {KeyLabel}
1.92 +line3=Type keytool -h {CommandName} for details on a particular command.
1.93 +line4=Type keytool -h noninteractive for details on how to run the commands in noninteractive mode.
1.94 +
1.95 +[keytool_help_individual]
1.96 +actualoutput=c:\output.txt
1.97 +numlines=1
1.98 +line0=-setuser uid KeyLabel Sets the given UID as the user of the specified key. UID is interpreted as hexadecimal number.
1.99 +
1.100 +[keytool_liststores]
1.101 +actualoutput=c:\output.txt
1.102 +liststore=1
1.103 +
1.104 +
1.105 +[keytool_import_key]
1.106 +expectedlabel1=pkcs2
1.107 +expectedlabel2=c:\tkeystore\data\pkcs8dsa2.001
1.108 +
1.109 +[keytool_import_key_store1]
1.110 +expectedlabel1=pkcs3
1.111 +
1.112 +[keytool_import_key_store01twice]
1.113 +expectedlabel1=pkcs4
1.114 +numtimes=2
1.115 +
1.116 +[keytool_list]
1.117 +actualoutput=c:\output.txt
1.118 +
1.119 +[keytool_list_store]
1.120 +actualoutput=c:\output.txt
1.121 +store=0
1.122 +
1.123 +[keytool_list_key]
1.124 +expectedlabel1=pkcs2
1.125 +
1.126 +[keytool_remove]
1.127 +expectedlabel1=pkcs2
1.128 +numtimes=0
1.129 +
1.130 +[keytool_setuser]
1.131 +expectedlabel1=pkcs4
1.132 +user=1
1.133 +expecteduser=305441741
1.134 +
1.135 +[keytool_setallusers]
1.136 +expectedlabel1=pkcs4
1.137 +user=1
1.138 +expecteduser=All
1.139 +
1.140 +[keytool_setmanager]
1.141 +expectedlabel1=pkcs4
1.142 +user=2
1.143 +expecteduser=WriteDeviceData
1.144 +
1.145 +[keytool_removeuser]
1.146 +expectedlabel1=pkcs4
1.147 +user=1
1.148 +expecteduser=271064114
1.149 +
1.150 +[certtoolkey_keytoolmanage]
1.151 +expectedlabel1=pkcs4
1.152 +user=1
1.153 +expecteduser=305441741
1.154 +
1.155 +[certtoolkey_keytoolmanage1]
1.156 +expectedlabel1=pkcs4
1.157 +user=2
1.158 +expecteduser=WriteDeviceData
1.159 +
1.160 +[certtool_helpfail]
1.161 +expected=c:\ttesttools\data\output31.txt
1.162 +actual=c:\output.txt
1.163 +
1.164 +[certtool_individual_helpfail]
1.165 +expected=c:\ttesttools\data\output32.txt
1.166 +actual=c:\output.txt
1.167 +
1.168 +[certtool_liststoresfail]
1.169 +actualoutput=c:\output.txt
1.170 +liststore=1
1.171 +
1.172 +[certtool_import_twicefail]
1.173 +actualoutput=c:\output.txt
1.174 +expectederror=The given label is invalid, or already present in the certstore.
1.175 +
1.176 +[certtool_import_emptycertstorefail]
1.177 +actualoutput=c:\output.txt
1.178 +expectederror=The specified certstore implementation does not exist.
1.179 +
1.180 +[certtool_import_nonexistfail]
1.181 +actualoutput=c:\output.txt
1.182 +expectederror=Cannot open certificate file.
1.183 +
1.184 +[certtool_import_corruptcertfail]
1.185 +actualoutput=c:\output.txt
1.186 +expectederror=An error occured during certificate import.
1.187 +
1.188 +[certtool_import_emptycertfail]
1.189 +actualoutput=c:\output.txt
1.190 +expectederror=The specified certificate file appears to be empty.
1.191 +
1.192 +[certtool_setapps_invalidfail]
1.193 +actualoutput=c:\output.txt
1.194 +expectederror=No valid applications specified, try one of
1.195 +
1.196 +
1.197 +[certtool_setapps_userfail]
1.198 +actualoutput=c:\output.txt
1.199 +expectederror=An Unknown error occured while adding the applicability.
1.200 +
1.201 +[certtool_addapps_invalidfail]
1.202 +actualoutput=c:\output.txt
1.203 +expectederror=No valid applications specified, try one of
1.204 +
1.205 +[certtool_addapps_userfail]
1.206 +actualoutput=c:\output.txt
1.207 +expectederror=An Unknown error occured while adding the applicability.
1.208 +
1.209 +[certtool_removeapps_invalidfail]
1.210 +actualoutput=c:\output.txt
1.211 +expectederror=No valid applications specified, try one of
1.212 +
1.213 +[certtool_removeapps_untrustfail]
1.214 +actualoutput=c:\output.txt
1.215 +expectederror=The certificate wan not trusted for application SWInstall.
1.216 +
1.217 +[certtool_list_fail]
1.218 +actualoutput=c:\output.txt
1.219 +expectederror=The specified certstore implementation does not exist.
1.220 +
1.221 +[certtool_list_fail1]
1.222 +actualoutput=c:\output.txt
1.223 +expectederror=Cannot find the specified Certificate
1.224 +
1.225 +[certtool_list_fail2]
1.226 +actualoutput=c:\output.txt
1.227 +expectederror=No Certificate Exist
1.228 +
1.229 +[certtool_remove_fail]
1.230 +actualoutput=c:\output.txt
1.231 +expectederror=Cannot find the specified certificate.
1.232 +
1.233 +[keytool_liststore_fail]
1.234 +expected=c:\ttesttools\data\output52.txt
1.235 +actual=c:\output.txt
1.236 +
1.237 +[keytool_import_fail]
1.238 +actualoutput=c:\output.txt
1.239 +expectederror=An error occured during key import.
1.240 +
1.241 +
1.242 +[keytool_import_fail1]
1.243 +actualoutput=c:\output.txt
1.244 +expectederror=The specified keystore implementation does not exist.
1.245 +
1.246 +[keytool_import_fail2]
1.247 +actualoutput=c:\output.txt
1.248 +expectederror=Cannot open key file.
1.249 +
1.250 +[keytool_import_fail3]
1.251 +actualoutput=c:\output.txt
1.252 +expectederror=An error occured during key import.
1.253 +
1.254 +[keytool_import_fail4]
1.255 +actualoutput=c:\output.txt
1.256 +expectederror=The specified key file appears to be empty.
1.257 +
1.258 +[keytool_setuser_fail]
1.259 +actualoutput=c:\output.txt
1.260 +expectederror=Cannot find the specified key.
1.261 +
1.262 +[keytool_setuser_fail1]
1.263 +actualoutput=c:\output.txt
1.264 +expectederror=User set failed.
1.265 +
1.266 +[keytool_setallusers_fail]
1.267 +actualoutput=c:\output.txt
1.268 +expectederror=Cannot find the specified key.
1.269 +
1.270 +[keytool_setallusers_fail1]
1.271 +actualoutput=c:\output.txt
1.272 +expectederror=AllUsers set failed.
1.273 +
1.274 +[keytool_setmanager_fail]
1.275 +actualoutput=c:\output.txt
1.276 +expectederror=Cannot find the specified key.
1.277 +
1.278 +[keytool_setmanager_fail1]
1.279 +actualoutput=c:\output.txt
1.280 +expectederror=manager set failed.
1.281 +
1.282 +[keytool_removeuser_fail]
1.283 +actualoutput=c:\output.txt
1.284 +expectederror=Cannot find the specified key.
1.285 +
1.286 +[keytool_removeuser_fail1]
1.287 +actualoutput=c:\output.txt
1.288 +expectederror=Users removal failed.
1.289 +
1.290 +[keytool_list_fail]
1.291 +actualoutput=c:\output.txt
1.292 +expectederror=The specified keystore implementation does not exist.
1.293 +
1.294 +[keytool_list_fail1]
1.295 +actualoutput=c:\output.txt
1.296 +expectederror=Cannot find the specified key.
1.297 +
1.298 +[keytool_remove_fail]
1.299 +actualoutput=c:\output.txt
1.300 +expectederror=Cannot find the specified key.
1.301 +
1.302 +[certtool_import]
1.303 +expectedlabel1=c:\tcertstore\data\cert_dsa1.der
1.304 +
1.305 +[certtool_setapps1]
1.306 +actualoutput=c:\output.txt
1.307 +expectedlabel1=c:\tcertstore\ent-wtls1.cer
1.308 +numapps=1
1.309 +apps0=SSL/TLS
1.310 +
1.311 +[certtool_setapps2]
1.312 +expectedlabel1=c:\tcertstore\ent-wtls1.cer
1.313 +trust=1
1.314 +
1.315 +[certtool_addapps1]
1.316 +actualoutput=c:\output.txt
1.317 +expectedlabel1=c:\tcertstore\ent-wtls1.cer
1.318 +numapps=1
1.319 +apps0=SSL/TLS
1.320 +
1.321 +[certtool_addapps2]
1.322 +expectedlabel1=c:\tcertstore\ent-wtls1.cer
1.323 +trust=1
1.324 +
1.325 +[certtool_importdeletable1]
1.326 +expectedlabel1=deletableimport1
1.327 +
1.328 +[certtool_importdeletable2]
1.329 +expectedlabel1=deletableimport2
1.330 +
1.331 +[certtool_importdeletable3]
1.332 +actualoutput=c:\output.txt
1.333 +expectederror=An error occured during certificate import.
1.334 +
1.335 +[certtool_removedeletable1]
1.336 +actualoutput=c:\output.txt
1.337 +expectederror=Certificate removed successfully.
1.338 +
1.339 +[certtool_removedeletable2]
1.340 +actualoutput=c:\output.txt
1.341 +expectederror=Certificate removed successfully.
1.342 +