public class TrustingSSLSocketFactory
extends org.apache.http.conn.ssl.SSLSocketFactory
Constructor and Description |
---|
TrustingSSLSocketFactory(KeyStore truststore) |
Modifier and Type | Method and Description |
---|---|
Socket |
createSocket() |
Socket |
createSocket(Socket socket,
String host,
int port,
boolean autoClose) |
connectSocket, connectSocket, connectSocket, createLayeredSocket, createLayeredSocket, createLayeredSocket, createSocket, createSocket, getHostnameVerifier, getSocketFactory, getSystemSocketFactory, isSecure, prepareSocket, setHostnameVerifier
public TrustingSSLSocketFactory(KeyStore truststore) throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException
public Socket createSocket(Socket socket, String host, int port, boolean autoClose) throws IOException, UnknownHostException
createSocket
in interface org.apache.http.conn.scheme.LayeredSocketFactory
createSocket
in class org.apache.http.conn.ssl.SSLSocketFactory
IOException
UnknownHostException
public Socket createSocket() throws IOException
createSocket
in interface org.apache.http.conn.scheme.SocketFactory
createSocket
in class org.apache.http.conn.ssl.SSLSocketFactory
IOException
Copyright © 2016–2020. All rights reserved.