Package org.frankframework.encryption
Class AuthSSLContextFactory
java.lang.Object
org.frankframework.encryption.AuthSSLContextFactory
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static org.apache.logging.log4j.Loggerprotected Stringprotected SSLContext -
Method Summary
Modifier and TypeMethodDescriptionstatic SSLContextcreateSSLContext(HasKeystore keystoreOwner, HasTruststore truststoreOwner, String protocol) static SSLSocketFactorycreateSSLSocketFactory(HasKeystore keystoreOwner, HasTruststore truststoreOwner, String protocol) static voidverifyKeystoreConfiguration(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:
GeneralSecurityExceptionIOException
-
createSSLContext
public static SSLContext createSSLContext(HasKeystore keystoreOwner, HasTruststore truststoreOwner, String protocol) throws GeneralSecurityException, IOException - Throws:
GeneralSecurityExceptionIOException
-
getSSLContext
- Throws:
GeneralSecurityExceptionIOException
-
getSSLSocketFactory
- Throws:
GeneralSecurityExceptionIOException
-