|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcoderz.commons.connector.http.transport.SslSocketFactory
public final class SslSocketFactory
Factory used to create SSLSocket.
| Constructor Summary | |
|---|---|
SslSocketFactory(KeyStore keyStore,
KeyStore trustStore,
String keyAlias,
String keyPassword)
Constructor. |
|
SslSocketFactory(String keyStoreLocation,
String keyStorePassword,
String trustStoreLocation,
String trustStorePassword,
String keyAlias,
String keyPassword)
Constructor. |
|
| Method Summary | |
|---|---|
Socket |
createSocket(Socket socket,
String host,
int port,
boolean autoClose)
|
Socket |
createSocket(String host,
int port)
|
Socket |
createSocket(String arg0,
int arg1,
InetAddress arg2,
int arg3)
|
Socket |
createSocket(String host,
int port,
InetAddress localAddress,
int localPort,
org.apache.commons.httpclient.params.HttpConnectionParams params)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SslSocketFactory(String keyStoreLocation,
String keyStorePassword,
String trustStoreLocation,
String trustStorePassword,
String keyAlias,
String keyPassword)
keyStoreLocation - the location of the key store in usekeyStorePassword - the password of the key store in usetrustStoreLocation - the location of the trust store in usetrustStorePassword - the password of the trust store in usekeyAlias - the alias of the key in usekeyPassword - the password of the key in use
public SslSocketFactory(KeyStore keyStore,
KeyStore trustStore,
String keyAlias,
String keyPassword)
keyStore - the keystore to usetrustStore - the truststore in usekeyAlias - the alias of the key in usekeyPassword - the password of the key in use| Method Detail |
|---|
public Socket createSocket(String host,
int port,
InetAddress localAddress,
int localPort,
org.apache.commons.httpclient.params.HttpConnectionParams params)
throws IOException,
UnknownHostException,
org.apache.commons.httpclient.ConnectTimeoutException
createSocket in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactoryIOException
UnknownHostException
org.apache.commons.httpclient.ConnectTimeoutException
public Socket createSocket(String host,
int port)
throws IOException,
UnknownHostException
createSocket in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactoryIOException
UnknownHostException
public Socket createSocket(Socket socket,
String host,
int port,
boolean autoClose)
createSocket in interface org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory
public Socket createSocket(String arg0,
int arg1,
InetAddress arg2,
int arg3)
throws IOException,
UnknownHostException
createSocket in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactoryIOException
UnknownHostException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||