org.eclipse.higgins.util.socket
Class HigginsSSLSocketFactory
java.lang.Object
javax.net.SocketFactory
javax.net.ssl.SSLSocketFactory
org.eclipse.higgins.util.socket.HigginsSSLSocketFactory
- public class HigginsSSLSocketFactory
- extends SSLSocketFactory
|
Method Summary |
Socket |
createSocket(InetAddress inetAddress,
int i)
|
Socket |
createSocket(InetAddress inetAddress,
int i,
InetAddress inetAddress1,
int i1)
|
Socket |
createSocket(Socket socket,
String host,
int port,
boolean autoClose)
|
Socket |
createSocket(String host,
int port)
|
Socket |
createSocket(String host,
int port,
InetAddress clientHost,
int clientPort)
|
static SocketFactory |
getDefault()
|
String[] |
getDefaultCipherSuites()
|
String[] |
getSupportedCipherSuites()
|
void |
reloadKeyStore()
|
void |
setKeyStore(File keyStoreFile,
String keyStorePassword)
|
getDefault
public static SocketFactory getDefault()
setKeyStore
public void setKeyStore(File keyStoreFile,
String keyStorePassword)
- Parameters:
keyStoreFile -
reloadKeyStore
public void reloadKeyStore()
throws NamingException
- Throws:
NamingException
getDefaultCipherSuites
public String[] getDefaultCipherSuites()
getSupportedCipherSuites
public String[] getSupportedCipherSuites()
createSocket
public Socket createSocket(String host,
int port,
InetAddress clientHost,
int clientPort)
throws IOException,
UnknownHostException
- Throws:
IOException
UnknownHostException
createSocket
public Socket createSocket(InetAddress inetAddress,
int i,
InetAddress inetAddress1,
int i1)
throws IOException
- Throws:
IOException
createSocket
public Socket createSocket(String host,
int port)
throws IOException,
UnknownHostException
- Throws:
IOException
UnknownHostException
createSocket
public Socket createSocket(InetAddress inetAddress,
int i)
throws IOException
- Throws:
IOException
createSocket
public Socket createSocket(Socket socket,
String host,
int port,
boolean autoClose)
throws IOException,
UnknownHostException
- Throws:
IOException
UnknownHostException