public class AlfrescoSSLSocketFactory extends SSLSocketFactory
Constructor and Description |
---|
AlfrescoSSLSocketFactory() |
Modifier and Type | Method and Description |
---|---|
Socket |
createSocket(InetAddress inetAddress,
int i) |
Socket |
createSocket(InetAddress inetAddress,
int i,
InetAddress inetAddress2,
int i2) |
Socket |
createSocket(Socket socket,
String s,
int i,
boolean b) |
Socket |
createSocket(String s,
int i) |
Socket |
createSocket(String s,
int i,
InetAddress inetAddress,
int i2) |
static SocketFactory |
getDefault() |
String[] |
getDefaultCipherSuites() |
String[] |
getSupportedCipherSuites() |
static void |
initTrustedSSLSocketFactory(KeyStore trustStore)
Initialize the factory with custom trustStore
|
createSocket
createSocket
public static void initTrustedSSLSocketFactory(KeyStore trustStore)
trustStore
- KeyStorepublic static SocketFactory getDefault()
public String[] getDefaultCipherSuites()
getDefaultCipherSuites
in class SSLSocketFactory
public String[] getSupportedCipherSuites()
getSupportedCipherSuites
in class SSLSocketFactory
public Socket createSocket(Socket socket, String s, int i, boolean b) throws IOException
createSocket
in class SSLSocketFactory
IOException
public Socket createSocket(String s, int i) throws IOException, UnknownHostException
createSocket
in class SocketFactory
IOException
UnknownHostException
public Socket createSocket(String s, int i, InetAddress inetAddress, int i2) throws IOException, UnknownHostException
createSocket
in class SocketFactory
IOException
UnknownHostException
public Socket createSocket(InetAddress inetAddress, int i) throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(InetAddress inetAddress, int i, InetAddress inetAddress2, int i2) throws IOException
createSocket
in class SocketFactory
IOException
Copyright © 2005–2017 Alfresco Software. All rights reserved.