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
IOException
GeneralSecurityException
public final ServerSocket createServerSocket(int localPort) throws IOException
createServerSocket
in interface SocketFactoryHelper
IOException
public final Socket createClientSocket(String remoteHost, int remotePort) throws IOException, org.apache.http.HttpException
createClientSocket
in interface SocketFactoryHelper
IOException
org.apache.http.HttpException
Copyright © 2019. All rights reserved.