|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.net.SocketFactory
com.waveset.adapter.WSSocketFactory
This is a wrapper class around whatever SSL Socket Facrory the the SSLContext gives us. It is used so that we can provide the certificates used to authenticate the server instead of having to rely on them being stored in the default keystore. This is basically the only way that I could figure out how to do this.
Field Summary | |
static java.lang.String |
code_id
Deprecated. |
Constructor Summary | |
protected |
WSSocketFactory()
Deprecated. |
protected |
WSSocketFactory(javax.net.ssl.SSLSocketFactory sf)
Deprecated. Create a WSSocketFactory from an existing socket factory. |
Method Summary | |
java.net.Socket |
createSocket(java.net.InetAddress host,
int port)
Deprecated. |
java.net.Socket |
createSocket(java.net.InetAddress address,
int port,
java.net.InetAddress clientAddress,
int clientPort)
Deprecated. |
java.net.Socket |
createSocket(java.lang.String host,
int port)
Deprecated. |
java.net.Socket |
createSocket(java.lang.String host,
int port,
java.net.InetAddress clientHost,
int clientPort)
Deprecated. |
static javax.net.SocketFactory |
getDefault()
Deprecated. |
Methods inherited from class javax.net.SocketFactory |
createSocket |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String code_id
Constructor Detail |
protected WSSocketFactory() throws java.security.cert.CertificateException, java.io.FileNotFoundException, java.security.KeyStoreException, java.io.IOException, java.security.NoSuchAlgorithmException, java.security.KeyManagementException, WavesetException
protected WSSocketFactory(javax.net.ssl.SSLSocketFactory sf)
Method Detail |
public static javax.net.SocketFactory getDefault()
public java.net.Socket createSocket(java.net.InetAddress host, int port) throws java.io.IOException
java.io.IOException
public java.net.Socket createSocket(java.net.InetAddress address, int port, java.net.InetAddress clientAddress, int clientPort) throws java.io.IOException
java.io.IOException
public java.net.Socket createSocket(java.lang.String host, int port, java.net.InetAddress clientHost, int clientPort) throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
java.net.UnknownHostException
public java.net.Socket createSocket(java.lang.String host, int port) throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
java.net.UnknownHostException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |