public class SSLSocketFactoryEx extends SSLSocketFactory
| Constructor and Description |
|---|
SSLSocketFactoryEx() |
SSLSocketFactoryEx(KeyManager[] km,
TrustManager[] tm,
SecureRandom random) |
SSLSocketFactoryEx(SSLContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
Socket |
createSocket() |
Socket |
createSocket(InetAddress host,
int port) |
Socket |
createSocket(InetAddress address,
int port,
InetAddress localAddress,
int localPort) |
Socket |
createSocket(Socket s,
String host,
int port,
boolean autoClose) |
Socket |
createSocket(String host,
int port) |
Socket |
createSocket(String host,
int port,
InetAddress localHost,
int localPort) |
protected String[] |
GetCipherList() |
String[] |
getDefaultCipherSuites() |
String[] |
getDefaultProtocols() |
protected String[] |
GetProtocolList() |
String[] |
getSupportedCipherSuites() |
String[] |
getSupportedProtocols() |
createSocket, getDefaultpublic SSLSocketFactoryEx()
throws NoSuchAlgorithmException,
KeyManagementException
public SSLSocketFactoryEx(KeyManager[] km, TrustManager[] tm, SecureRandom random) throws NoSuchAlgorithmException, KeyManagementException
public SSLSocketFactoryEx(SSLContext ctx) throws NoSuchAlgorithmException, KeyManagementException
public String[] getDefaultCipherSuites()
getDefaultCipherSuites in class SSLSocketFactorypublic String[] getSupportedCipherSuites()
getSupportedCipherSuites in class SSLSocketFactorypublic String[] getDefaultProtocols()
public String[] getSupportedProtocols()
public Socket createSocket(Socket s, String host, int port, boolean autoClose) throws IOException
createSocket in class SSLSocketFactoryIOExceptionpublic Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(String host, int port, InetAddress localHost, int localPort) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(InetAddress host, int port) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(String host, int port) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket() throws IOException
createSocket in class SocketFactoryIOExceptionprotected String[] GetProtocolList()
protected String[] GetCipherList()
Copyright © 2024. All rights reserved.