public class TlsCertificateAuthorityClientSocketFactory
extends org.apache.http.conn.ssl.SSLConnectionSocketFactory
| Constructor and Description |
|---|
TlsCertificateAuthorityClientSocketFactory(javax.net.ssl.SSLContext sslContext,
java.lang.String caHostname,
java.util.List<java.security.cert.X509Certificate> certificates) |
| Modifier and Type | Method and Description |
|---|---|
java.net.Socket |
connectSocket(int connectTimeout,
java.net.Socket socket,
org.apache.http.HttpHost host,
java.net.InetSocketAddress remoteAddress,
java.net.InetSocketAddress localAddress,
org.apache.http.protocol.HttpContext context) |
public TlsCertificateAuthorityClientSocketFactory(javax.net.ssl.SSLContext sslContext,
java.lang.String caHostname,
java.util.List<java.security.cert.X509Certificate> certificates)
public java.net.Socket connectSocket(int connectTimeout,
java.net.Socket socket,
org.apache.http.HttpHost host,
java.net.InetSocketAddress remoteAddress,
java.net.InetSocketAddress localAddress,
org.apache.http.protocol.HttpContext context)
throws java.io.IOException
connectSocket in interface org.apache.http.conn.socket.ConnectionSocketFactoryconnectSocket in class org.apache.http.conn.ssl.SSLConnectionSocketFactoryjava.io.IOException