public abstract class SSLSocketFactoryUtil
extends java.lang.Object
| Constructor and Description |
|---|
SSLSocketFactoryUtil() |
| Modifier and Type | Method and Description |
|---|---|
static javax.net.ssl.SSLSocketFactory |
create(TlsProtocol protocol) |
static javax.net.ssl.SSLSocketFactory |
create(TlsProtocol protocol,
javax.net.ssl.TrustManager tm) |
static javax.net.ssl.SSLSocketFactory |
create(javax.net.ssl.TrustManager tm) |
static javax.net.ssl.SSLSocketFactory |
getDefault() |
public static javax.net.ssl.SSLSocketFactory getDefault()
public static javax.net.ssl.SSLSocketFactory create(TlsProtocol protocol) throws java.io.IOException, java.security.NoSuchAlgorithmException, java.security.KeyManagementException
java.io.IOExceptionjava.security.NoSuchAlgorithmExceptionjava.security.KeyManagementExceptionpublic static javax.net.ssl.SSLSocketFactory create(javax.net.ssl.TrustManager tm)
throws java.io.IOException,
java.security.NoSuchAlgorithmException,
java.security.KeyManagementException
java.io.IOExceptionjava.security.NoSuchAlgorithmExceptionjava.security.KeyManagementExceptionpublic static javax.net.ssl.SSLSocketFactory create(TlsProtocol protocol, javax.net.ssl.TrustManager tm) throws java.io.IOException, java.security.NoSuchAlgorithmException, java.security.KeyManagementException
java.io.IOExceptionjava.security.NoSuchAlgorithmExceptionjava.security.KeyManagementException