public class SSLUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
logger |
private static SSLHandler |
sslHandler |
| Constructor and Description |
|---|
SSLUtil() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.http.conn.ssl.SSLConnectionSocketFactory |
getSSLConnectionSocketFactory(SSLVersion sslVersion) |
private static SSLContext |
getSSLContext(SSLVersion sslVersion) |
SSLSocketFactory |
getSSLFactory(SSLVersion sslVersion) |
static void |
main(String[] args) |
private static org.slf4j.Logger logger
private static final SSLHandler sslHandler
public SSLSocketFactory getSSLFactory(SSLVersion sslVersion)
public org.apache.http.conn.ssl.SSLConnectionSocketFactory getSSLConnectionSocketFactory(SSLVersion sslVersion)
private static SSLContext getSSLContext(SSLVersion sslVersion) throws SSLFCreateException
SSLFCreateExceptionpublic static void main(String[] args) throws NoSuchAlgorithmException, KeyManagementException
Copyright © 2020. All rights reserved.