Importing and Exporting Keys

Configure command for Importing and Exporting Keys.

The exportPubKey command enables you to import or export keys. Also, for private and symmetric keys, you must have a wrapping key.

As a Crypto Officer or as a Crypto User, you must first own a key to import or export it. The following commands enable you to import or export keys. Also, for private and symmetric keys, you must have a wrapping key.

Syntax

Syntax: exportPubKey -h -k <key handle> -out <key file>
Where: -h    displays this information
       -k    specifies the public key handle
       -out  specifies the file to write the exported public key
Syntax: importPubKey -h -l <label> -f <filename> [-sess]
Where: -h       displays this information
       -l       label for the new key, if label contains spaces it should be written in between " characters.
       -f       file containing the PEM encoded public key
       -sess    specifies key as session key