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 configurationConstructor 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, getDefault
createSocket
public Tls12Java7SocketFactory(SSLSocketFactory delegate)
public String[] getDefaultCipherSuites()
getDefaultCipherSuites
in class SSLSocketFactory
public String[] getSupportedCipherSuites()
getSupportedCipherSuites
in class SSLSocketFactory
public Socket createSocket(Socket socket, String host, int port, boolean autoClose) throws IOException
createSocket
in class SSLSocketFactory
IOException
public Socket createSocket(String host, int port) throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(String host, int port, InetAddress localAddress, int localPort) throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(InetAddress host, int port) throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(InetAddress host, int port, InetAddress localAddress, int localPort) throws IOException
createSocket
in class SocketFactory
IOException
Copyright © 2009–2016 SonarSource. All rights reserved.