KEYSTORE
This section contains the commands used for managing the Key Storage service. They are added to the shell environment by executing ADD KEYSTORE in the command line.
BACKUP
Syntax |
BACKUP <fileName> |
Arguments |
|
<fileName> |
The full path and name of the backup file. |
Description |
Creates a back up file for the keystore with the name specified. |
CREATION_DATE
Syntax |
CREATION_DATE <viewAlias> <entryAlias> |
Arguments |
|
<viewAlias> |
The name of the view to check the entry from. |
<entryAlias> |
The name of the entry to be checked. |
Description |
Displays the creation date of a keystore entry. |
DELETE
Syntax |
DELETE <viewAlias> <entryAlias> |
Arguments |
|
<viewAlias> |
The name of the view to get the entry from. |
<entryAlias> |
The name of the entry to be removed. |
Description |
Removes a specified keystore entry. |
EXISTS
Syntax |
EXISTS <viewAlias> <entryAlias> |
Arguments |
|
<viewAlias> |
The name of the view to check the entry from. |
<entryAlias> |
The name of the entry to be checked. |
Description |
Tests whether an entry with the given alias has been stored. |
IS_KEY
Syntax |
IS_KEY <viewAlias> <entryAlias> |
Arguments |
|
<viewAlias> |
The name of the view to check the entry from. |
<entryAlias> |
The name of the entry to be checked. |
Description |
Tests if the keystore entry with the given alias is a key. |
LIST
Syntax |
LIST <viewAlias> |
Arguments |
|
<viewAlias> |
The name of the view to be checked. |
Description |
Lists the aliases of available entries in the given keystore view. |
LOAD
Syntax |
LOAD <viewAlias> <entryAlias> <entryFormat> <fileName> [cert1]* |
Arguments |
|
<viewAlias> |
The name of the view to load the entry from. |
<entryAlias> |
The name of the entry to be loaded. |
<entryFormat> |
The format of the entry. |
<fileName> |
The name of the file to be loaded. |
[cert1 cert2 ...] |
The list of certificates to be loaded. |
Description |
Loads a key or certificate with the given alias from a file to the selected keystore view. |
RESTORE
Syntax |
RESTORE <fileName> |
Arguments |
|
<fileName> |
The full path and name of the backup file to be uploaded. |
Description |
Loads a backed up version of the keystore from the specified file. |
SIZE
Syntax |
SIZE <viewAlias> |
Arguments |
|
<viewAlias> |
The name of the view to be checked. |
Description |
Displays the entries number in the specified keystore view. |
STORE
Syntax |
STORE <viewAlias> <entryType> <alias> <fileName> |
Arguments |
|
<viewAlias> |
The name of the view to be checked. |
<entryType> |
The type of the entry to be stored: · key – stores a key entry · certificate – stores a certificate entry · chain – stores a certificate chain |
<alias> |
The name to store the entry under. |
<fileName> |
The full path and name of the file to store the entry in. |
Description |
Stores an entry in a specified location as a specified name. |
WRITE
Syntax |
WRITE <viewAlias> <entryType> <alias> <fileName> |
Arguments |
|
<viewAlias> |
The name of the view to check. |
<entryType> |
The type of entry to be stored: · key – stores a key entry · certificate – stores a certificate entry · chain – stores a certificate chain |
<alias> |
The name under which the entry is to be stored. |
<fileName> |
The full path and the name under which the entry is to be stored. |
Description |
Stores a keystore entry with the given alias from the selected keystore view in the specified file. |
