
This is a set of patches for the HTTPClient V0.3-3 to enable https using
Eric Rescorla's PureTLS library. You'll need at least version 0.9b3 of
PureTLS.

This package contains the modified HTTPClient sources and the resulting
class files. Save a copy of the original files in the HTTPClient
distribution, and then copy these files into there. When running your
application make sure to include the neccessary jar file(s) in your
CLASSPATH (typically puretls.jar, cryptix32.jar, and cryptix-asn1.jar).

NOTE:
    By default, the list of trusted root certs in PureTLS is empty. You
    therefore probably want to set your own - you can do via something
    like the following before creating the HTTPConnection's:

      import COM.claymoresystems.ptls.SSLContext;

      SSLContext ctxt = new SSLContext();
      ctxt.loadRootCertificates("root.certs");
      HTTPConnection.setDefaultSSLContext(ctxt);

   The "root.certs" file can be generated by hand, or from the cacerts
   file in the JDK (assuming JDK 1.2 or later) via the command line:

    % keytool -list -rfc -keystore .../jre/lib/security/cacerts > root.certs


Comments:
---------

Mail suggestions, comments, bugs, enhancement-requests to:

ronald@innovation.ch


  Have fun,

  Ronald

