public class InternalSSLSocketFactory extends SSLSocketFactory
Implementers of this class need to specific the SSLContext protocol and whether the server's SSL certificates should be trusted or validated.
| Modifier and Type | Class and Description |
|---|---|
static class |
InternalSSLSocketFactory.LenientTrustManager
LenientTrustManager is a TrustManager that accepts all certificates without validating the
chain of trust or hostname.
|
| Modifier and Type | Method and Description |
|---|---|
Socket |
createSocket(InetAddress ia,
int i) |
Socket |
createSocket(InetAddress ia,
int i,
InetAddress ia1,
int i1) |
Socket |
createSocket(Socket socket,
String string,
int i,
boolean bln) |
Socket |
createSocket(String string,
int i) |
Socket |
createSocket(String string,
int i,
InetAddress ia,
int i1) |
String[] |
getDefaultCipherSuites() |
String[] |
getSupportedCipherSuites() |
createSocket, getDefaultcreateSocketpublic String[] getDefaultCipherSuites()
getDefaultCipherSuites in class SSLSocketFactorypublic String[] getSupportedCipherSuites()
getSupportedCipherSuites in class SSLSocketFactorypublic Socket createSocket(Socket socket, String string, int i, boolean bln) throws IOException
createSocket in class SSLSocketFactoryIOExceptionpublic Socket createSocket(String string, int i) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(String string, int i, InetAddress ia, int i1) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(InetAddress ia, int i) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(InetAddress ia, int i, InetAddress ia1, int i1) throws IOException
createSocket in class SocketFactoryIOExceptionCopyright © 2022 Apache Software Foundation. All rights reserved.