tempKeyStore = loadKeyStore();
checkKeyStoreContainsAlias(tempKeyStore);
}
catch (Exception e)
{
throw new CreateException(
CoreMessages.failedToLoad("KeyStore: " + keyStoreName), e, this);
}
try
{
keyManagerFactory = KeyManagerFactory.getInstance(getKeyManagerAlgorithm());
keyManagerFactory.init(tempKeyStore, keyPassword.toCharArray());
}
catch (Exception e)
{
throw new CreateException(CoreMessages.failedToLoad("Key Manager"), e, this);
}
}