public class SslRMIClientSocketFactory extends java.lang.Object implements java.rmi.server.RMIClientSocketFactory, java.io.Serializable
javax.rmi.ssl.client.enabledCipherSuites
javax.rmi.ssl.client.enabledProtocols
These properties will specify a list of SSL/TLS cipher suites and protocols,
respectively, to enable on the created sockets.
Both properties should consist of a comma-separated list.| Constructor and Description |
|---|
SslRMIClientSocketFactory()
Creates a new SslRMIClientSocketFactory
|
| Modifier and Type | Method and Description |
|---|---|
java.net.Socket |
createSocket(java.lang.String host,
int port)
Creates an SSLSocket on a given port
|
boolean |
equals(java.lang.Object obj)
Compare two SslRMIServerSocketFactor instances
|
int |
hashCode()
Returns the hash code of this object.
|
public SslRMIClientSocketFactory()
public java.net.Socket createSocket(java.lang.String host, int port) throws java.io.IOException
createSocket in interface java.rmi.server.RMIClientSocketFactoryjava.io.IOException - if an error occurs on socket creation.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the Object to compare toObject.hashCode()public int hashCode()
hashCode in class java.lang.ObjectObject.equals(Object),
System.identityHashCode(Object)