public interface SSLProvider
| Modifier and Type | Method and Description |
|---|---|
ServerSocket |
createServerSocket(int port,
int backlog,
InetAddress bindAddress) |
Socket |
createSocket(Socket s,
String host,
int port,
int connectTimeout,
String sniServerName) |
Socket |
createSocket(String host,
int port,
InetAddress addr,
int localPort,
int connectTimeout,
String sniServerName) |
Socket |
createSocket(String host,
int port,
int connectTimeout,
String sniServerName) |
boolean |
showSSLExceptions() |
Socket |
wrapAcceptedSocket(Socket socket) |
ServerSocket createServerSocket(int port, int backlog, InetAddress bindAddress) throws IOException
IOExceptionSocket wrapAcceptedSocket(Socket socket) throws IOException
IOExceptionSocket createSocket(Socket s, String host, int port, int connectTimeout, @Nullable String sniServerName) throws IOException
host - relevant to verify the server cert onlyport - relevant to verify the server cert onlyIOExceptionSocket createSocket(String host, int port, int connectTimeout, @Nullable String sniServerName) throws IOException
IOExceptionSocket createSocket(String host, int port, InetAddress addr, int localPort, int connectTimeout, @Nullable String sniServerName) throws IOException
IOExceptionboolean showSSLExceptions()
Copyright © 2022. All Rights Reserved.