java.lang.Object
dev.eidentification.bankid.internal.ssl.SslUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic KeyManagerFactory
tryCreateKeyManager
(InputStream keystoreInputStream, String password) static SSLContext
tryCreateSSLContext
(KeyManagerFactory keyManagerFactory, TrustManagerFactory trustManagerFactory) static TrustManagerFactory
tryCreateTrustManager
(InputStream certificateInputStream)
-
Method Details
-
tryCreateSSLContext
public static SSLContext tryCreateSSLContext(KeyManagerFactory keyManagerFactory, TrustManagerFactory trustManagerFactory) throws GeneralSecurityException - Throws:
GeneralSecurityException
-
tryCreateKeyManager
public static KeyManagerFactory tryCreateKeyManager(InputStream keystoreInputStream, String password) throws GeneralSecurityException, IOException - Throws:
GeneralSecurityException
IOException
-
tryCreateTrustManager
public static TrustManagerFactory tryCreateTrustManager(InputStream certificateInputStream) throws GeneralSecurityException, IOException - Throws:
GeneralSecurityException
IOException
-