com.ibm.security.keystoreutil

Interface KeyStoreTranslatorParameters


  1. public interface KeyStoreTranslatorParameters
Encapsulates the parameters needed to do a KeyStore conversion to a different format.

Method Summary

Modifier and Type Method and Description
  1. void
destroyParameters()
Destroys all cashed passwords.
  1. char[]
getKeyProtectionPassword(String alias)
Returns the protection password of a the key that is associated with alias.
  1. char[]
getKeyStoreAccessPassword()
Returns the KeyStore access password.
  1. KeyStore
getSourceKeyStore()
Returns the encapsulated KeyStore instance.

Method Detail

getSourceKeyStore

  1. KeyStore getSourceKeyStore()
Returns the encapsulated KeyStore instance.
Returns:
The KeyStore instance.

getKeyStoreAccessPassword

  1. char[] getKeyStoreAccessPassword( )
Returns the KeyStore access password.
Returns:
The KeyStore access password

getKeyProtectionPassword

  1. char[] getKeyProtectionPassword( String alias)
Returns the protection password of a the key that is associated with alias. This can be the same as the KeyStore access password.
Parameters:
alias - The alias of the key that we need to get its protection password.
Returns:
The key protection password.

destroyParameters

  1. void destroyParameters()
Destroys all cashed passwords.