Package org.frankframework.encryption
Class AuthSSLContextFactory
java.lang.Object
org.frankframework.encryption.AuthSSLContextFactory
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static org.apache.logging.log4j.Logger
protected String
protected SSLContext
-
Method Summary
Modifier and TypeMethodDescriptionstatic SSLContext
createSSLContext
(HasKeystore keystoreOwner, HasTruststore truststoreOwner, String protocol) static SSLSocketFactory
createSSLSocketFactory
(HasKeystore keystoreOwner, HasTruststore truststoreOwner, String protocol) static void
verifyKeystoreConfiguration
(HasKeystore keystoreOwner, HasTruststore truststoreOwner)
-
Field Details
-
log
protected static org.apache.logging.log4j.Logger log -
protocol
-
sslContext
-
-
Method Details
-
verifyKeystoreConfiguration
public static void verifyKeystoreConfiguration(HasKeystore keystoreOwner, HasTruststore truststoreOwner) throws ConfigurationException - Throws:
ConfigurationException
-
createSSLSocketFactory
public static SSLSocketFactory createSSLSocketFactory(HasKeystore keystoreOwner, HasTruststore truststoreOwner, String protocol) throws GeneralSecurityException, IOException - Throws:
GeneralSecurityException
IOException
-
createSSLContext
public static SSLContext createSSLContext(HasKeystore keystoreOwner, HasTruststore truststoreOwner, String protocol) throws GeneralSecurityException, IOException - Throws:
GeneralSecurityException
IOException
-
getSSLContext
- Throws:
GeneralSecurityException
IOException
-
getSSLSocketFactory
- Throws:
GeneralSecurityException
IOException
-