importseckey

-importseckey {-v} -keyalias keyalias {-keypass keypass} {-keystore keystore} {-storepass storepass} {-storetype storetype} {-provider provider_name} -importfile importfile

Import a batch of secret keys from importfile into keystore. A private key is obtained from keyalias from the keystore to decrypt all the secret keys from the import file, which is an IBM-only format.

If a secret key already exists in the keystore, KeyTool will throw an exception and exit. If every secret key is imported, KeyTool will display the total number of secret keys imported.