public class Tls12Java7SocketFactory extends SSLSocketFactory
SSLSocketFactory which enables all the versions of TLS. This is required
to support TLSv1.2 on Java 7. Note that Java 8 supports TLSv1.2 natively, without
any configuration| Constructor and Description |
|---|
Tls12Java7SocketFactory(SSLSocketFactory delegate) |
| Modifier and Type | Method and Description |
|---|---|
Socket |
createSocket(InetAddress host,
int port) |
Socket |
createSocket(InetAddress host,
int port,
InetAddress localAddress,
int localPort) |
Socket |
createSocket(Socket socket,
String host,
int port,
boolean autoClose) |
Socket |
createSocket(String host,
int port) |
Socket |
createSocket(String host,
int port,
InetAddress localAddress,
int localPort) |
String[] |
getDefaultCipherSuites() |
String[] |
getSupportedCipherSuites() |
createSocket, getDefaultcreateSocketpublic Tls12Java7SocketFactory(SSLSocketFactory delegate)
public String[] getDefaultCipherSuites()
getDefaultCipherSuites in class SSLSocketFactorypublic String[] getSupportedCipherSuites()
getSupportedCipherSuites in class SSLSocketFactorypublic Socket createSocket(Socket socket, String host, int port, boolean autoClose) throws IOException
createSocket in class SSLSocketFactoryIOExceptionpublic Socket createSocket(String host, int port) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(String host, int port, InetAddress localAddress, int localPort) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(InetAddress host, int port) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(InetAddress host, int port, InetAddress localAddress, int localPort) throws IOException
createSocket in class SocketFactoryIOExceptionCopyright © 2009–2016 SonarSource. All rights reserved.