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