Package org.frankframework.encryption
Class CommonsPkiUtil
java.lang.Object
org.frankframework.encryption.CommonsPkiUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic KeyManager[]
createKeyManagers
(KeyStore keystore, String password, String algorithm) static KeyStore
createKeyStore
(URL url, String password, KeystoreType keystoreType) static TrustManager[]
createTrustManagers
(KeyStore keystore, String algorithm) static RSAPrivateKey
getRsaPrivateKey
(KeyStore keystore)
-
Method Details
-
createKeyManagers
public static KeyManager[] createKeyManagers(KeyStore keystore, String password, String algorithm) throws KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException -
createTrustManagers
public static TrustManager[] createTrustManagers(KeyStore keystore, String algorithm) throws KeyStoreException, NoSuchAlgorithmException -
createKeyStore
public static KeyStore createKeyStore(URL url, String password, KeystoreType keystoreType) throws KeyStoreException, NoSuchAlgorithmException, CertificateException, IOException -
getRsaPrivateKey
public static RSAPrivateKey getRsaPrivateKey(KeyStore keystore) throws KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException
-