sl@0: sl@0: [keytool_list_migrated_keys] sl@0: expectedlabel1=dhkey sl@0: expectedlabel2=rsakey sl@0: expectedlabel3=dsakey sl@0: sl@0: [keytool_migrate_default] sl@0: file=c:\newkeys.dat sl@0: check=present sl@0: sl@0: [keytool_migrated_param_missing1] sl@0: actualoutput=c:\output.txt sl@0: numlines=8 sl@0: line0=Key file to be migrated not provided. sl@0: line1=Passphrase absent. sl@0: line2=Usage sl@0: line3= keytool [{-list -l} {-liststores -ls} {-import -i} {-remove -r} sl@0: line4={-page -p } {-help -h} {-setuser -s} {-setallusers -a} {-removeuser -ru} {-setmanager -m}] {KeyLabel} sl@0: line5=or [ {-migratestore} old key file name ] sl@0: line6=Type keytool -h {CommandName} for details on a particular command. sl@0: line7=Type keytool -h noninteractive for details on how to run the commands in noninteractive mode. sl@0: sl@0: [keytool_migrated_param_missing2] sl@0: actualoutput=c:\output.txt sl@0: numlines=7 sl@0: line0=Passphrase absent. sl@0: line1=Usage sl@0: line2= keytool [{-list -l} {-liststores -ls} {-import -i} {-remove -r} sl@0: line3={-page -p } {-help -h} {-setuser -s} {-setallusers -a} {-removeuser -ru} {-setmanager -m}] {KeyLabel} sl@0: line4=or [ {-migratestore} old key file name ] sl@0: line5=Type keytool -h {CommandName} for details on a particular command. sl@0: line6=Type keytool -h noninteractive for details on how to run the commands in noninteractive mode. sl@0: sl@0: [keytool_migrated_help] sl@0: actualoutput=c:\output.txt sl@0: numlines=10 sl@0: line0=-migrate OldKeyFile Passphrase [-new NewKeyFile] [-expr AuthExpression] [-freshness Freshness]. sl@0: line1=Migrates the old key file to the new format. If new key file name sl@0: line2=is provided then it is saved using that name otherwise it is saved sl@0: line3=as newkeys.dat in the system drive. Every key store in old implementation was encrypted sl@0: line4=with a passphrase, this should be supplied for successful porting. sl@0: line5=If authexpression is not provided it uses the system wide default plugin. sl@0: line6=If freshness is not provided then it uses 0 as the default freshness which sl@0: line7=means always authenticate the user. The supplied auth expression and freshness sl@0: line8=would be used to determine whether to use the current authenticated identity sl@0: line9=if available or to authenticate the user again. sl@0: