public class AuthSSLContextFactory extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.apache.logging.log4j.Logger |
log |
protected String |
protocol |
protected SSLContext |
sslContext |
Modifier and Type | Method and Description |
---|---|
static SSLContext |
createSSLContext(HasKeystore keystoreOwner,
HasTruststore trustoreOwner,
String protocol) |
static SSLSocketFactory |
createSSLSocketFactory(HasKeystore keystoreOwner,
HasTruststore trustoreOwner,
String protocol) |
SSLContext |
getSSLContext() |
SSLSocketFactory |
getSSLSocketFactory() |
static void |
verifyKeystoreConfiguration(HasKeystore keystoreOwner,
HasTruststore trustoreOwner) |
protected static org.apache.logging.log4j.Logger log
protected String protocol
protected SSLContext sslContext
public static void verifyKeystoreConfiguration(HasKeystore keystoreOwner, HasTruststore trustoreOwner) throws ConfigurationException
ConfigurationException
public static SSLSocketFactory createSSLSocketFactory(HasKeystore keystoreOwner, HasTruststore trustoreOwner, String protocol) throws GeneralSecurityException, IOException
GeneralSecurityException
IOException
public static SSLContext createSSLContext(HasKeystore keystoreOwner, HasTruststore trustoreOwner, String protocol) throws GeneralSecurityException, IOException
GeneralSecurityException
IOException
public SSLContext getSSLContext() throws GeneralSecurityException, IOException
GeneralSecurityException
IOException
public SSLSocketFactory getSSLSocketFactory() throws GeneralSecurityException, IOException
GeneralSecurityException
IOException
Copyright © 2023 Frank!Framework. All rights reserved.