com.ibm.security.keystoreutil
Interface KeyStoreTranslator


public interface KeyStoreTranslator

This interface is used to copy the contents of one KeyStore to a different KeyStore format.


Method Summary
 KeyStore translateStore(KeyStoreTranslatorParameters parameters)
          Translate a KeyStore into a different format.
 

Method Detail

translateStore

KeyStore translateStore(KeyStoreTranslatorParameters parameters)
Translate a KeyStore into a different format.

Parameters:
parameters - An instance of KeyStoreTranslatorParameters. This instance can be created by calling KeyStoreUtil.newTranslatorParameters(KeyStore, char[], Map) method.
Returns:
A new KeyStore instance that is loaded with the same contents as the source. To save the new KeyStore contents to an output stream, KeyStore.store() method should be called on the returned instance.