javax.rmi.ssl

Class SslRMIClientSocketFactory

public class SslRMIClientSocketFactory extends Object implements RMIClientSocketFactory, Serializable

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.

Since: 1.5

Constructor Summary
SslRMIClientSocketFactory()
Creates a new SslRMIClientSocketFactory
Method Summary
SocketcreateSocket(String host, int port)
Creates an SSLSocket on a given port
booleanequals(Object obj)
Compare two SslRMIServerSocketFactor instances
inthashCode()
Returns the hash code of this object.

Constructor Detail

SslRMIClientSocketFactory

public SslRMIClientSocketFactory()
Creates a new SslRMIClientSocketFactory

Method Detail

createSocket

public Socket createSocket(String host, int port)
Creates an SSLSocket on a given port

Throws: IOException if an error occurs on socket creation.

equals

public boolean equals(Object obj)
Compare two SslRMIServerSocketFactor instances

hashCode

public int hashCode()
Returns the hash code of this object.