public class PinTanSSLSocketFactory extends SSLSocketFactory
| Constructor and Description |
|---|
PinTanSSLSocketFactory(AbstractPinTanPassport passport) |
| Modifier and Type | Method and Description |
|---|---|
Socket |
createSocket() |
Socket |
createSocket(InetAddress addr,
int port) |
Socket |
createSocket(InetAddress addr,
int port,
InetAddress localHost,
int localPort) |
Socket |
createSocket(Socket sock,
String host,
int port,
boolean autoClose) |
Socket |
createSocket(String host,
int port) |
Socket |
createSocket(String host,
int port,
InetAddress localHost,
int localPort) |
boolean |
debug() |
String[] |
getDefaultCipherSuites() |
String[] |
getSupportedCipherSuites() |
createSocket, getDefaultpublic PinTanSSLSocketFactory(AbstractPinTanPassport passport)
public boolean debug()
public Socket createSocket() throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(Socket sock, String host, int port, boolean autoClose) throws IOException
createSocket in class SSLSocketFactoryIOExceptionpublic String[] getDefaultCipherSuites()
getDefaultCipherSuites in class SSLSocketFactorypublic String[] getSupportedCipherSuites()
getSupportedCipherSuites in class SSLSocketFactorypublic Socket createSocket(String host, int port) throws IOException, UnknownHostException
createSocket in class SocketFactoryIOExceptionUnknownHostExceptionpublic Socket createSocket(InetAddress addr, int port) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(String host, int port, InetAddress localHost, int localPort) throws IOException, UnknownHostException
createSocket in class SocketFactoryIOExceptionUnknownHostExceptionpublic Socket createSocket(InetAddress addr, int port, InetAddress localHost, int localPort) throws IOException
createSocket in class SocketFactoryIOExceptionCopyright © 2017. All rights reserved.