public class JGDISslRMIClientSocketFactory
extends javax.rmi.ssl.SslRMIClientSocketFactory
SSLSockets for RMI.SslRMIClientSocketFactory,
Serialized Form| Constructor and Description |
|---|
JGDISslRMIClientSocketFactory(java.lang.String serverHostname,
int serverPort,
java.io.File caTop) |
| Modifier and Type | Method and Description |
|---|---|
java.net.Socket |
createSocket(java.lang.String host,
int port)
Creates an SSL socket.
|
public JGDISslRMIClientSocketFactory(java.lang.String serverHostname,
int serverPort,
java.io.File caTop)
public final java.net.Socket createSocket(java.lang.String host,
int port)
throws java.io.IOException
Creates an SSL socket.
If the system property
javax.rmi.ssl.client.enabledCipherSuites is
specified, this method will call SSLSocket.setEnabledCipherSuites(String[]) before returning
the socket. The value of this system property is a string that
is a comma-separated list of SSL/TLS cipher suites to
enable.
If the system property
javax.rmi.ssl.client.enabledProtocols is
specified, this method will call SSLSocket.setEnabledProtocols(String[]) before returning the
socket. The value of this system property is a string that is a
comma-separated list of SSL/TLS protocol versions to
enable.
createSocket in interface java.rmi.server.RMIClientSocketFactorycreateSocket in class javax.rmi.ssl.SslRMIClientSocketFactoryhost - the hostport - the portjava.io.IOException - on any io errorCopyright © 2007 Sun Microsystems, Inc. All rights reserved.