public class SSLContextFactory extends Object
| Constructor and Description |
|---|
SSLContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
static SSLContext |
createSSLContext(SSLConfiguration configuration)
Creates an
SSLContext that trusts all certificates in truststore.jks. |
public static SSLContext createSSLContext(SSLConfiguration configuration) throws Exception
SSLContext that trusts all certificates in truststore.jks.configuration - is the SSLConfiguration instance containing all the parameter required to connect using sslSSLSocketFactory that satisfy the given configurationException - if any exception happens while setting the ssl configurationCopyright © 2022. All rights reserved.