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, getDefault
createSocket
public String[] getDefaultCipherSuites()
getDefaultCipherSuites
in class SSLSocketFactory
public String[] getSupportedCipherSuites()
getSupportedCipherSuites
in class SSLSocketFactory
public Socket createSocket(Socket socket, String string, int i, boolean bln) throws IOException
createSocket
in class SSLSocketFactory
IOException
public Socket createSocket(String string, int i) throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(String string, int i, InetAddress ia, int i1) throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(InetAddress ia, int i) throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(InetAddress ia, int i, InetAddress ia1, int i1) throws IOException
createSocket
in class SocketFactory
IOException
Copyright © 2022 Apache Software Foundation. All rights reserved.