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