os/security/cryptoservices/filebasedcertificateandkeystores/test/ttesttools/scripts/keytool_migrate.ini
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/security/cryptoservices/filebasedcertificateandkeystores/test/ttesttools/scripts/keytool_migrate.ini Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,47 @@
1.4 +
1.5 +[keytool_list_migrated_keys]
1.6 +expectedlabel1=dhkey
1.7 +expectedlabel2=rsakey
1.8 +expectedlabel3=dsakey
1.9 +
1.10 +[keytool_migrate_default]
1.11 +file=c:\newkeys.dat
1.12 +check=present
1.13 +
1.14 +[keytool_migrated_param_missing1]
1.15 +actualoutput=c:\output.txt
1.16 +numlines=8
1.17 +line0=Key file to be migrated not provided.
1.18 +line1=Passphrase absent.
1.19 +line2=Usage
1.20 +line3= keytool [{-list -l} {-liststores -ls} {-import -i} {-remove -r}
1.21 +line4={-page -p } {-help -h} {-setuser -s} {-setallusers -a} {-removeuser -ru} {-setmanager -m}] {KeyLabel}
1.22 +line5=or [ {-migratestore} old key file name ]
1.23 +line6=Type keytool -h {CommandName} for details on a particular command.
1.24 +line7=Type keytool -h noninteractive for details on how to run the commands in noninteractive mode.
1.25 +
1.26 +[keytool_migrated_param_missing2]
1.27 +actualoutput=c:\output.txt
1.28 +numlines=7
1.29 +line0=Passphrase absent.
1.30 +line1=Usage
1.31 +line2= keytool [{-list -l} {-liststores -ls} {-import -i} {-remove -r}
1.32 +line3={-page -p } {-help -h} {-setuser -s} {-setallusers -a} {-removeuser -ru} {-setmanager -m}] {KeyLabel}
1.33 +line4=or [ {-migratestore} old key file name ]
1.34 +line5=Type keytool -h {CommandName} for details on a particular command.
1.35 +line6=Type keytool -h noninteractive for details on how to run the commands in noninteractive mode.
1.36 +
1.37 +[keytool_migrated_help]
1.38 +actualoutput=c:\output.txt
1.39 +numlines=10
1.40 +line0=-migrate OldKeyFile Passphrase [-new NewKeyFile] [-expr AuthExpression] [-freshness Freshness].
1.41 +line1=Migrates the old key file to the new format. If new key file name
1.42 +line2=is provided then it is saved using that name otherwise it is saved
1.43 +line3=as newkeys.dat in the system drive. Every key store in old implementation was encrypted
1.44 +line4=with a passphrase, this should be supplied for successful porting.
1.45 +line5=If authexpression is not provided it uses the system wide default plugin.
1.46 +line6=If freshness is not provided then it uses 0 as the default freshness which
1.47 +line7=means always authenticate the user. The supplied auth expression and freshness
1.48 +line8=would be used to determine whether to use the current authenticated identity
1.49 +line9=if available or to authenticate the user again.
1.50 +