java.lang.Object
javax.net.SocketFactory
javax.net.ssl.SSLSocketFactory
nl.altindag.ssl.socket.FenixSSLSocketFactory
NOTE:
Please don't use this class directly as it is part of the internal API. Class name and methods can be changed any time.
Instead use the
SSLSocketUtils which provides the same functionality
while it has a stable API because it is part of the public API.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFenixSSLSocketFactory(SSLSocketFactory sslSocketFactory, SSLParameters sslParameters) -
Method Summary
Modifier and TypeMethodDescriptioncreateSocket(String host, int port) createSocket(String host, int port, InetAddress localAddress, int localPort) createSocket(InetAddress address, int port) createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) createSocket(Socket socket, InputStream inputStream, boolean autoClosable) createSocket(Socket socket, String host, int port, boolean autoClosable) String[]String[]private SocketwithSslParameters(Socket socket) Methods inherited from class javax.net.ssl.SSLSocketFactory
getDefault
-
Field Details
-
sslSocketFactory
-
sslParameters
-
-
Constructor Details
-
FenixSSLSocketFactory
-
-
Method Details
-
getDefaultCipherSuites
- Specified by:
getDefaultCipherSuitesin classSSLSocketFactory
-
getSupportedCipherSuites
- Specified by:
getSupportedCipherSuitesin classSSLSocketFactory
-
createSocket
- Overrides:
createSocketin classSocketFactory- Throws:
IOException
-
createSocket
public Socket createSocket(Socket socket, InputStream inputStream, boolean autoClosable) throws IOException - Overrides:
createSocketin classSSLSocketFactory- Throws:
IOException
-
createSocket
public Socket createSocket(Socket socket, String host, int port, boolean autoClosable) throws IOException - Specified by:
createSocketin classSSLSocketFactory- Throws:
IOException
-
createSocket
- Specified by:
createSocketin classSocketFactory- Throws:
IOExceptionUnknownHostException
-
createSocket
public Socket createSocket(String host, int port, InetAddress localAddress, int localPort) throws IOException, UnknownHostException - Specified by:
createSocketin classSocketFactory- Throws:
IOExceptionUnknownHostException
-
createSocket
- Specified by:
createSocketin classSocketFactory- Throws:
IOException
-
createSocket
public Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) throws IOException - Specified by:
createSocketin classSocketFactory- Throws:
IOException
-
withSslParameters
-