com.ibm.security.keystoreutil

Interface KeyStoreTranslator


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

Method Summary

Modifier and Type Method and Description
  1. KeyStore
translateStore(KeyStoreTranslatorParameters parameters)
Translate a KeyStore into a different format.

Method Detail

translateStore

  1. 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.