public class HostSslSocketFactory extends SSLSocketFactory
SSLSocketFactory to address
issue where host name is not set on BCSSLSocket when creating a socket.| Constructor and Description |
|---|
HostSslSocketFactory(SSLSocketFactory sslSocketFactory,
String peerHost) |
| Modifier and Type | Method and Description |
|---|---|
Socket |
createSocket() |
Socket |
createSocket(InetAddress address,
int port) |
Socket |
createSocket(InetAddress address,
int port,
InetAddress remoteAddress,
int remotePort) |
Socket |
createSocket(Socket socket,
InputStream inputStream,
boolean autoClose) |
Socket |
createSocket(Socket socket,
String host,
int port,
boolean autoClose) |
Socket |
createSocket(String host,
int port) |
Socket |
createSocket(String host,
int port,
InetAddress localAddress,
int localPort) |
String[] |
getDefaultCipherSuites() |
String[] |
getSupportedCipherSuites() |
static boolean |
isFipsDeployment() |
getDefaultpublic HostSslSocketFactory(SSLSocketFactory sslSocketFactory, String peerHost)
public String[] getDefaultCipherSuites()
getDefaultCipherSuites in class SSLSocketFactorypublic String[] getSupportedCipherSuites()
getSupportedCipherSuites in class SSLSocketFactorypublic Socket createSocket(Socket socket, String host, int port, boolean autoClose) throws IOException
createSocket in class SSLSocketFactoryIOExceptionpublic Socket createSocket() throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(String host, int port) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(String host, int port, InetAddress localAddress, int localPort) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(InetAddress address, int port) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(InetAddress address, int port, InetAddress remoteAddress, int remotePort) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(Socket socket, InputStream inputStream, boolean autoClose) throws IOException
createSocket in class SSLSocketFactoryIOExceptionpublic static boolean isFipsDeployment()
Copyright © 2025 Confluent, Inc.. All rights reserved.