|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.net.SocketFactory | +--javax.net.ssl.SSLSocketFactory | +--org.edg.security.httpclient.CipherSSLSocketFactory
A SSL socket factory that returns a SSLSocket having the given ciphersuite enabled.
Constructor Summary | |
CipherSSLSocketFactory()
MySSLSocketFactory constructor comment. |
|
CipherSSLSocketFactory(javax.net.ssl.SSLSocketFactory child,
java.lang.String[] cipherSuites)
MySSLSocketFactory constructor comment. |
Method Summary | |
java.net.Socket |
createSocket(java.net.InetAddress address,
int port)
Returns a socket connected to a ServerSocket at the specified network address and port. |
java.net.Socket |
createSocket(java.net.InetAddress address,
int port,
java.net.InetAddress clientAddress,
int clientPort)
Returns a socket connected to a ServerSocket at the specified network address and port. |
java.net.Socket |
createSocket(java.net.Socket socket,
java.lang.String host,
int port,
boolean autoClose)
Returns a socket layered over an existing socket connected to the named host, at the given port. |
java.net.Socket |
createSocket(java.lang.String host,
int port)
Returns a socket connected to a ServerSocket on the named host, at the given port. |
java.net.Socket |
createSocket(java.lang.String host,
int port,
java.net.InetAddress clientAddress,
int clientPort)
Returns a socket connected to a ServerSocket on the named host, at the given port. |
java.lang.String[] |
getDefaultCipherSuites()
Returns the list of cipher suites which are enabled by default. |
java.lang.String[] |
getSupportedCipherSuites()
Returns the names of the cipher suites which could be enabled for use on an SSL connection. |
protected java.net.Socket |
initializeSocket(java.net.Socket socket)
createSocket method comment. |
void |
setEnabledCipherSuites(java.lang.String[] suites)
Controls which particular cipher suites are enabled for use on sockets generated by this factory. |
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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CipherSSLSocketFactory()
public CipherSSLSocketFactory(javax.net.ssl.SSLSocketFactory child, java.lang.String[] cipherSuites)
Method Detail |
public java.net.Socket createSocket(java.lang.String host, int port) throws java.io.IOException, java.net.UnknownHostException
createSocket
in class javax.net.SocketFactory
java.io.IOException
java.net.UnknownHostException
public java.net.Socket createSocket(java.lang.String host, int port, java.net.InetAddress clientAddress, int clientPort) throws java.io.IOException, java.net.UnknownHostException
createSocket
in class javax.net.SocketFactory
java.io.IOException
java.net.UnknownHostException
public java.net.Socket createSocket(java.net.InetAddress address, int port) throws java.io.IOException
createSocket
in class javax.net.SocketFactory
java.io.IOException
public java.net.Socket createSocket(java.net.InetAddress address, int port, java.net.InetAddress clientAddress, int clientPort) throws java.io.IOException
createSocket
in class javax.net.SocketFactory
java.io.IOException
public java.net.Socket createSocket(java.net.Socket socket, java.lang.String host, int port, boolean autoClose) throws java.io.IOException
createSocket
in class javax.net.ssl.SSLSocketFactory
java.io.IOException
public java.lang.String[] getDefaultCipherSuites()
getDefaultCipherSuites
in class javax.net.ssl.SSLSocketFactory
public java.lang.String[] getSupportedCipherSuites()
getSupportedCipherSuites
in class javax.net.ssl.SSLSocketFactory
protected java.net.Socket initializeSocket(java.net.Socket socket)
public void setEnabledCipherSuites(java.lang.String[] suites) throws java.lang.IllegalArgumentException
suites
- Names of all the cipher suites to enable
java.lang.IllegalArgumentException
- - when one or more of the ciphers named by the parameter is not supported,
or when the parameter is null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |