com.ibm.security.keystoreutil
Interface KeyStoreTranslatorParameters


public interface KeyStoreTranslatorParameters

Encapsulates the parameters needed to do a KeyStore conversion to a different format.


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

Method Detail

getSourceKeyStore

KeyStore getSourceKeyStore()
Returns the encapsulated KeyStore instance.

Returns:
The KeyStore instance.

getKeyStoreAccessPassword

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

Returns:
The KeyStore access password

getKeyProtectionPassword

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

void destroyParameters()
Destroys all cashed passwords.