public class SSLSupport
extends javax.net.ssl.SSLSocketFactory
| Constructor and Description |
|---|
SSLSupport() |
SSLSupport(javax.net.ssl.KeyManager[] km,
javax.net.ssl.TrustManager[] tm,
java.security.SecureRandom random) |
SSLSupport(javax.net.ssl.SSLContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
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 s,
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 localHost,
int localPort) |
protected java.lang.String[] |
GetCipherList() |
java.lang.String[] |
getDefaultCipherSuites() |
java.lang.String[] |
getDefaultProtocols() |
protected java.lang.String[] |
GetProtocolList() |
java.lang.String[] |
getSupportedCipherSuites() |
java.lang.String[] |
getSupportedProtocols() |
public SSLSupport()
throws java.security.NoSuchAlgorithmException,
java.security.KeyManagementException,
java.io.IOException
java.security.NoSuchAlgorithmExceptionjava.security.KeyManagementExceptionjava.io.IOExceptionpublic SSLSupport(javax.net.ssl.KeyManager[] km,
javax.net.ssl.TrustManager[] tm,
java.security.SecureRandom random)
throws java.security.NoSuchAlgorithmException,
java.security.KeyManagementException,
java.io.IOException
java.security.NoSuchAlgorithmExceptionjava.security.KeyManagementExceptionjava.io.IOExceptionpublic SSLSupport(javax.net.ssl.SSLContext ctx)
throws java.security.NoSuchAlgorithmException,
java.security.KeyManagementException,
java.io.IOException
java.security.NoSuchAlgorithmExceptionjava.security.KeyManagementExceptionjava.io.IOExceptionpublic java.lang.String[] getDefaultCipherSuites()
getDefaultCipherSuites in class javax.net.ssl.SSLSocketFactorypublic java.lang.String[] getSupportedCipherSuites()
getSupportedCipherSuites in class javax.net.ssl.SSLSocketFactorypublic java.lang.String[] getDefaultProtocols()
public java.lang.String[] getSupportedProtocols()
public java.net.Socket createSocket(java.net.Socket s,
java.lang.String host,
int port,
boolean autoClose)
throws java.io.IOException
createSocket in class javax.net.ssl.SSLSocketFactoryjava.io.IOExceptionpublic java.net.Socket createSocket(java.net.InetAddress address,
int port,
java.net.InetAddress localAddress,
int localPort)
throws java.io.IOException
createSocket in class javax.net.SocketFactoryjava.io.IOExceptionpublic java.net.Socket createSocket(java.lang.String host,
int port,
java.net.InetAddress localHost,
int localPort)
throws java.io.IOException
createSocket in class javax.net.SocketFactoryjava.io.IOExceptionpublic java.net.Socket createSocket(java.net.InetAddress host,
int port)
throws java.io.IOException
createSocket in class javax.net.SocketFactoryjava.io.IOExceptionpublic java.net.Socket createSocket(java.lang.String host,
int port)
throws java.io.IOException
createSocket in class javax.net.SocketFactoryjava.io.IOExceptionprotected java.lang.String[] GetProtocolList()
throws java.io.IOException
java.io.IOExceptionprotected java.lang.String[] GetCipherList()