public class SSLCertificateSocketFactory extends SSLSocketFactory
| Constructor and Description |
|---|
SSLCertificateSocketFactory(int handshakeTimeoutMillis)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Socket |
createSocket() |
Socket |
createSocket(InetAddress addr,
int port) |
Socket |
createSocket(InetAddress addr,
int port,
InetAddress localAddr,
int localPort) |
Socket |
createSocket(Socket k,
String host,
int port,
boolean close) |
Socket |
createSocket(String host,
int port) |
Socket |
createSocket(String host,
int port,
InetAddress localAddr,
int localPort) |
static SocketFactory |
getDefault(int handshakeTimeoutMillis) |
static SSLSocketFactory |
getDefault(int handshakeTimeoutMillis,
SSLSessionCache cache) |
String[] |
getDefaultCipherSuites() |
static org.apache.http.conn.ssl.SSLSocketFactory |
getHttpSocketFactory(int handshakeTimeoutMillis,
SSLSessionCache cache) |
static SSLSocketFactory |
getInsecure(int handshakeTimeoutMillis,
SSLSessionCache cache) |
byte[] |
getNpnSelectedProtocol(Socket socket) |
String[] |
getSupportedCipherSuites() |
void |
setKeyManagers(KeyManager[] keyManagers) |
void |
setNpnProtocols(byte[][] npnProtocols) |
void |
setTrustManagers(TrustManager[] trustManager) |
getDefault@Deprecated public SSLCertificateSocketFactory(int handshakeTimeoutMillis)
public static SocketFactory getDefault(int handshakeTimeoutMillis)
public static SSLSocketFactory getDefault(int handshakeTimeoutMillis, SSLSessionCache cache)
public static SSLSocketFactory getInsecure(int handshakeTimeoutMillis, SSLSessionCache cache)
public static org.apache.http.conn.ssl.SSLSocketFactory getHttpSocketFactory(int handshakeTimeoutMillis,
SSLSessionCache cache)
public void setTrustManagers(TrustManager[] trustManager)
public void setNpnProtocols(byte[][] npnProtocols)
public byte[] getNpnSelectedProtocol(Socket socket)
public void setKeyManagers(KeyManager[] keyManagers)
public Socket createSocket(Socket k, String host, int port, boolean close) throws IOException
createSocket in class SSLSocketFactoryIOExceptionpublic Socket createSocket() throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(InetAddress addr, int port, InetAddress localAddr, int localPort) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(InetAddress addr, int port) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(String host, int port, InetAddress localAddr, int localPort) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(String host, int port) throws IOException
createSocket in class SocketFactoryIOExceptionpublic String[] getDefaultCipherSuites()
getDefaultCipherSuites in class SSLSocketFactorypublic String[] getSupportedCipherSuites()
getSupportedCipherSuites in class SSLSocketFactoryCopyright © 2008-2013. All Rights Reserved.