public class RpcSSLSocketFactory extends SSLSocketFactory
Modifier and Type | Class and Description |
---|---|
static class |
RpcSSLSocketFactory.TrustAllTrustManager
This class allow any X509 certificates to be used to authenticate the
remote side of a secure socket, including self-signed certificates.
|
Modifier and Type | Method and Description |
---|---|
Socket |
createSocket() |
Socket |
createSocket(InetAddress host,
int port) |
Socket |
createSocket(InetAddress address,
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 localHost,
int localPort) |
String[] |
getDefaultCipherSuites() |
static RpcSSLSocketFactory |
getInstance(Properties properties)
Gets the single instance of RpcSSLSocketFactory.
|
String[] |
getSupportedCipherSuites() |
createSocket, getDefault
public static RpcSSLSocketFactory getInstance(Properties properties)
public Socket createSocket(Socket socket, String host, int port, boolean autoClose) throws IOException, UnknownHostException
createSocket
in class SSLSocketFactory
IOException
UnknownHostException
SSLSocketFactory.createSocket(java.net.Socket, java.lang.String, int, boolean)
public Socket createSocket() throws IOException
createSocket
in class SocketFactory
IOException
SocketFactory.createSocket()
public Socket createSocket(String host, int port) throws IOException, UnknownHostException
createSocket
in class SocketFactory
IOException
UnknownHostException
SocketFactory.createSocket(java.lang.String, int)
public Socket createSocket(InetAddress host, int port) throws IOException
createSocket
in class SocketFactory
IOException
SocketFactory.createSocket(java.net.InetAddress, int)
public Socket createSocket(String host, int port, InetAddress localHost, int localPort) throws IOException, UnknownHostException
createSocket
in class SocketFactory
IOException
UnknownHostException
SocketFactory.createSocket(java.lang.String, int, java.net.InetAddress, int)
public Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) throws IOException
createSocket
in class SocketFactory
IOException
SocketFactory.createSocket(java.net.InetAddress, int, java.net.InetAddress, int)
public String[] getDefaultCipherSuites()
getDefaultCipherSuites
in class SSLSocketFactory
SSLSocketFactory.getDefaultCipherSuites()
public String[] getSupportedCipherSuites()
getSupportedCipherSuites
in class SSLSocketFactory
SSLSocketFactory.getSupportedCipherSuites()
Copyright © 2017 Perforce Software. All Rights Reserved.