xsul.puretls_client_socket_factory
Class PuretlsClientSocketFactory

java.lang.Object
  extended byxsul.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

Constructor Summary
PuretlsClientSocketFactory(SSLContext ctx)
           
PuretlsClientSocketFactory(java.lang.String rootfile, java.lang.String keyfile, java.lang.String randomfile, java.lang.String password)
           
PuretlsClientSocketFactory(java.lang.String rootfile, java.lang.String keyfile, java.lang.String randomfile, java.lang.String password, boolean acceptunverified, short[] cipherSuites)
           
 
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
 

Constructor Detail

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
Method Detail

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)