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, getDefaultpublic static RpcSSLSocketFactory getInstance(Properties properties)
public Socket createSocket(Socket socket, String host, int port, boolean autoClose) throws IOException, UnknownHostException
createSocket in class SSLSocketFactoryIOExceptionUnknownHostExceptionSSLSocketFactory.createSocket(java.net.Socket, java.lang.String, int, boolean)public Socket createSocket() throws IOException
createSocket in class SocketFactoryIOExceptionSocketFactory.createSocket()public Socket createSocket(String host, int port) throws IOException, UnknownHostException
createSocket in class SocketFactoryIOExceptionUnknownHostExceptionSocketFactory.createSocket(java.lang.String, int)public Socket createSocket(InetAddress host, int port) throws IOException
createSocket in class SocketFactoryIOExceptionSocketFactory.createSocket(java.net.InetAddress, int)public Socket createSocket(String host, int port, InetAddress localHost, int localPort) throws IOException, UnknownHostException
createSocket in class SocketFactoryIOExceptionUnknownHostExceptionSocketFactory.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 SocketFactoryIOExceptionSocketFactory.createSocket(java.net.InetAddress, int, java.net.InetAddress, int)public String[] getDefaultCipherSuites()
getDefaultCipherSuites in class SSLSocketFactorySSLSocketFactory.getDefaultCipherSuites()public String[] getSupportedCipherSuites()
getSupportedCipherSuites in class SSLSocketFactorySSLSocketFactory.getSupportedCipherSuites()Copyright © 2017 Perforce Software. All Rights Reserved.