|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.rmi.ssl.SslRMIClientSocketFactory
public class SslRMIClientSocketFactory
SslRMIClientSocketFactory
This class implements an RMIClientSocketFactory for SSL sockets.
it uses the defeult SSLClientSocketFactory.
This class can optionally use the following system properties, if set:
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 Summary | |
---|---|
SslRMIClientSocketFactory()
Creates a new SslRMIClientSocketFactory |
Method Summary | |
---|---|
Socket |
createSocket(String host,
int port)
Creates an SSLSocket on a given port |
boolean |
equals(Object obj)
Compare two SslRMIServerSocketFactor instances |
int |
hashCode()
Returns the hash code of this object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SslRMIClientSocketFactory()
Method Detail |
---|
public Socket createSocket(String host, int port) throws IOException
createSocket
in interface RMIClientSocketFactory
IOException
- if an error occurs on socket creation.public boolean equals(Object obj)
equals
in class Object
obj
- the Object to compare to
Object.hashCode()
public int hashCode()
hashCode
in class Object
Object.equals(Object)
,
System.identityHashCode(Object)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |