xsul.puretls_client_socket_factory
Class PuretlsClientSocketFactory
java.lang.Object
xsul.puretls_client_socket_factory.PuretlsClientSocketFactory
- All Implemented Interfaces:
- ClientSocketFactory
- public class PuretlsClientSocketFactory
- extends java.lang.Object
- implements ClientSocketFactory
PureTLS based SSL client socket factory.
- Version:
- $Revision: 1.1 $
- Author:
- Aleksander Slominski
|
Method Summary |
java.net.Socket |
connect(java.lang.String host,
int port,
int timeout)
Open socket to host:port that can be used ot transfer SOAP/HTTP request over TLS. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PuretlsClientSocketFactory
public PuretlsClientSocketFactory(SSLContext ctx)
throws HttpClientException
PuretlsClientSocketFactory
public PuretlsClientSocketFactory(java.lang.String rootfile,
java.lang.String keyfile,
java.lang.String randomfile,
java.lang.String password)
PuretlsClientSocketFactory
public PuretlsClientSocketFactory(java.lang.String rootfile,
java.lang.String keyfile,
java.lang.String randomfile,
java.lang.String password,
boolean acceptunverified,
short[] cipherSuites)
throws HttpClientException
connect
public java.net.Socket connect(java.lang.String host,
int port,
int timeout)
throws HttpClientException
- Open socket to host:port that can be used ot transfer SOAP/HTTP request over TLS.
- Specified by:
connect in interface ClientSocketFactory
- Throws:
HttpClientException
IU Extreme! Lab (http://www.extreme.indiana.edu)