public class TLSSocketFactory
extends org.apache.http.conn.ssl.SSLSocketFactory
| Modifier and Type | Field and Description |
|---|---|
static org.apache.http.conn.ssl.TrustStrategy |
TRUST_ALL_CERTIFICATES_STRATEGY |
| Constructor and Description |
|---|
TLSSocketFactory(org.apache.http.conn.ssl.TrustStrategy trustStategy,
org.apache.http.conn.ssl.X509HostnameVerifier hostNameVerifier) |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.http.conn.scheme.SchemeRegistry |
createSchemeRegistry()
Initializes default scheme registry based on JSSE defaults.
|
static TLSSocketFactory |
getSocketFactory() |
protected void |
prepareSocket(SSLSocket socket) |
public static final org.apache.http.conn.ssl.TrustStrategy TRUST_ALL_CERTIFICATES_STRATEGY
public TLSSocketFactory(org.apache.http.conn.ssl.TrustStrategy trustStategy,
org.apache.http.conn.ssl.X509HostnameVerifier hostNameVerifier)
throws KeyManagementException,
UnrecoverableKeyException,
NoSuchAlgorithmException,
KeyStoreException
protected void prepareSocket(SSLSocket socket) throws IOException
prepareSocket in class org.apache.http.conn.ssl.SSLSocketFactoryIOExceptionpublic static TLSSocketFactory getSocketFactory()
public static org.apache.http.conn.scheme.SchemeRegistry createSchemeRegistry()
Copyright © 2016–2017 Nuage Networks. All rights reserved.