com.retrogui.dualrpc.client.net
Class NonValidatingSSLSocketFactory
java.lang.Object
javax.net.SocketFactory
javax.net.ssl.SSLSocketFactory
com.retrogui.dualrpc.client.net.NonValidatingSSLSocketFactory
- public class NonValidatingSSLSocketFactory
- extends javax.net.ssl.SSLSocketFactory
Nonvalidating socket factory. The key store is passed in by the caller which
permits loading from an alternate location such as the classpath or from
within a jar.
|
Method Summary |
java.net.Socket |
createSocket(java.net.InetAddress host,
int port)
|
java.net.Socket |
createSocket(java.net.InetAddress address,
int port,
java.net.InetAddress localAddress,
int localPort)
|
java.net.Socket |
createSocket(java.net.Socket socket,
java.lang.String host,
int port,
boolean autoClose)
|
java.net.Socket |
createSocket(java.lang.String host,
int port)
|
java.net.Socket |
createSocket(java.lang.String host,
int port,
java.net.InetAddress clientHost,
int clientPort)
|
boolean |
equals(java.lang.Object obj)
|
java.lang.String[] |
getDefaultCipherSuites()
|
java.lang.String[] |
getSupportedCipherSuites()
|
int |
hashCode()
|
| Methods inherited from class javax.net.ssl.SSLSocketFactory |
getDefault |
| Methods inherited from class javax.net.SocketFactory |
createSocket |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
NonValidatingSSLSocketFactory
public NonValidatingSSLSocketFactory(java.security.KeyStore keyStore,
char[] keyStorePassword)
createSocket
public java.net.Socket createSocket(java.net.InetAddress host,
int port)
throws java.io.IOException
- Throws:
java.io.IOException
createSocket
public java.net.Socket createSocket(java.lang.String host,
int port,
java.net.InetAddress clientHost,
int clientPort)
throws java.io.IOException,
java.net.UnknownHostException
- Throws:
java.io.IOException
java.net.UnknownHostException
createSocket
public java.net.Socket createSocket(java.net.InetAddress address,
int port,
java.net.InetAddress localAddress,
int localPort)
throws java.io.IOException
- Throws:
java.io.IOException
createSocket
public java.net.Socket createSocket(java.lang.String host,
int port)
throws java.io.IOException,
java.net.UnknownHostException
- Throws:
java.io.IOException
java.net.UnknownHostException
createSocket
public java.net.Socket createSocket(java.net.Socket socket,
java.lang.String host,
int port,
boolean autoClose)
throws java.io.IOException,
java.net.UnknownHostException
- Throws:
java.io.IOException
java.net.UnknownHostException
getDefaultCipherSuites
public java.lang.String[] getDefaultCipherSuites()
getSupportedCipherSuites
public java.lang.String[] getSupportedCipherSuites()
equals
public boolean equals(java.lang.Object obj)
hashCode
public int hashCode()