os/security/cryptoservices/filebasedcertificateandkeystores/test/ttesttools/scripts/keytool_migrate.ini
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 
     2 [keytool_list_migrated_keys]
     3 expectedlabel1=dhkey
     4 expectedlabel2=rsakey
     5 expectedlabel3=dsakey
     6 
     7 [keytool_migrate_default]
     8 file=c:\newkeys.dat
     9 check=present
    10 
    11 [keytool_migrated_param_missing1]
    12 actualoutput=c:\output.txt
    13 numlines=8
    14 line0=Key file to be migrated not provided.
    15 line1=Passphrase absent.
    16 line2=Usage
    17 line3= keytool 	[{-list -l} {-liststores -ls} {-import -i} {-remove -r} 
    18 line4={-page -p } {-help -h} {-setuser -s} {-setallusers -a} {-removeuser -ru} {-setmanager -m}] {KeyLabel}
    19 line5=or [ {-migratestore} old key file name ]
    20 line6=Type keytool -h {CommandName} for details on a particular command.
    21 line7=Type keytool -h noninteractive for details on how to run the commands in noninteractive mode.
    22 
    23 [keytool_migrated_param_missing2]
    24 actualoutput=c:\output.txt
    25 numlines=7
    26 line0=Passphrase absent.
    27 line1=Usage
    28 line2= keytool 	[{-list -l} {-liststores -ls} {-import -i} {-remove -r} 
    29 line3={-page -p } {-help -h} {-setuser -s} {-setallusers -a} {-removeuser -ru} {-setmanager -m}] {KeyLabel}
    30 line4=or [ {-migratestore} old key file name ]
    31 line5=Type keytool -h {CommandName} for details on a particular command.
    32 line6=Type keytool -h noninteractive for details on how to run the commands in noninteractive mode.
    33 
    34 [keytool_migrated_help]
    35 actualoutput=c:\output.txt
    36 numlines=10
    37 line0=-migrate OldKeyFile Passphrase [-new NewKeyFile] [-expr AuthExpression] [-freshness Freshness].
    38 line1=Migrates the old key file to the new format. If new key file name
    39 line2=is provided then it is saved using that name otherwise it is saved
    40 line3=as newkeys.dat in the system drive. Every key store in old implementation was encrypted
    41 line4=with a passphrase, this should be supplied for successful porting.
    42 line5=If authexpression is not provided it uses the system wide default plugin. 
    43 line6=If freshness is not provided then it uses 0 as the default freshness which
    44 line7=means always authenticate the user. The supplied auth expression and freshness 
    45 line8=would be used to determine whether to use the current authenticated identity
    46 line9=if available or to authenticate the user again.
    47