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
|
createSocketcreateSocketpublic static void initTrustedSSLSocketFactory(KeyStore trustStore)
trustStore - KeyStorepublic static SocketFactory getDefault()
public String[] getDefaultCipherSuites()
getDefaultCipherSuites in class SSLSocketFactorypublic String[] getSupportedCipherSuites()
getSupportedCipherSuites in class SSLSocketFactorypublic Socket createSocket(Socket socket, String s, int i, boolean b) throws IOException
createSocket in class SSLSocketFactoryIOExceptionpublic Socket createSocket(String s, int i) throws IOException, UnknownHostException
createSocket in class SocketFactoryIOExceptionUnknownHostExceptionpublic Socket createSocket(String s, int i, InetAddress inetAddress, int i2) throws IOException, UnknownHostException
createSocket in class SocketFactoryIOExceptionUnknownHostExceptionpublic Socket createSocket(InetAddress inetAddress, int i) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(InetAddress inetAddress, int i, InetAddress inetAddress2, int i2) throws IOException
createSocket in class SocketFactoryIOExceptionCopyright © 2005–2018 Alfresco Software. All rights reserved.