public final class SSLSocketFactory extends Object implements SocketFactoryHelper
| Constructor and Description |
|---|
SSLSocketFactory() |
SSLSocketFactory(String remoteCN,
byte[] subjectAltName) |
| Modifier and Type | Method and Description |
|---|---|
Socket |
createClientSocket(String remoteHost,
int remotePort) |
ServerSocket |
createServerSocket(int localPort) |
public SSLSocketFactory()
throws IOException,
GeneralSecurityException
IOExceptionGeneralSecurityExceptionpublic final ServerSocket createServerSocket(int localPort) throws IOException
createServerSocket in interface SocketFactoryHelperIOExceptionpublic final Socket createClientSocket(String remoteHost, int remotePort) throws IOException, org.apache.http.HttpException
createClientSocket in interface SocketFactoryHelperIOExceptionorg.apache.http.HttpExceptionCopyright © 2019. All rights reserved.