COM.claymoresystems.sslg
Class SSLContextInt

java.lang.Object
  extended by COM.claymoresystems.sslg.SSLContextInt
Direct Known Subclasses:
SSLContext

public abstract class SSLContextInt
extends java.lang.Object


Field Summary
protected  SSLPolicyInt policy
           
 
Constructor Summary
SSLContextInt()
           
 
Method Summary
 SSLPolicyInt getPolicy()
          Get the current policy for this SSLContext
abstract  void loadDHParams(java.io.InputStream is)
           
abstract  void loadDHParams(java.lang.String path)
           
abstract  void loadEAYKeyFile(java.io.InputStream is, java.lang.String passphrase)
           
abstract  void loadEAYKeyFile(java.lang.String path, java.lang.String passphrase)
           
abstract  void loadPKCS12File(java.lang.String path, java.lang.String passphrase)
           
abstract  void loadRootCertificates(java.io.InputStream is)
           
abstract  void loadRootCertificates(java.lang.String path)
           
abstract  void saveDHParams(java.lang.String path, int size, boolean sophieGermain)
           
abstract  void saveEAYKeyFile(java.lang.String path, java.lang.String passphrase)
           
 void setPolicy(SSLPolicyInt p)
          Set the policy for this SSLContext.
abstract  void useRandomnessFile(java.lang.String path, java.lang.String passphrase)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

policy

protected SSLPolicyInt policy
Constructor Detail

SSLContextInt

public SSLContextInt()
Method Detail

loadPKCS12File

public abstract void loadPKCS12File(java.lang.String path,
                                    java.lang.String passphrase)
                             throws java.io.IOException
Throws:
java.io.IOException

loadEAYKeyFile

public abstract void loadEAYKeyFile(java.lang.String path,
                                    java.lang.String passphrase)
                             throws java.io.IOException
Throws:
java.io.IOException

loadEAYKeyFile

public abstract void loadEAYKeyFile(java.io.InputStream is,
                                    java.lang.String passphrase)
                             throws java.io.IOException
Throws:
java.io.IOException

saveEAYKeyFile

public abstract void saveEAYKeyFile(java.lang.String path,
                                    java.lang.String passphrase)
                             throws java.io.IOException
Throws:
java.io.IOException

useRandomnessFile

public abstract void useRandomnessFile(java.lang.String path,
                                       java.lang.String passphrase)
                                throws java.io.IOException
Throws:
java.io.IOException

loadDHParams

public abstract void loadDHParams(java.lang.String path)
                           throws java.io.IOException
Throws:
java.io.IOException

loadDHParams

public abstract void loadDHParams(java.io.InputStream is)
                           throws java.io.IOException
Throws:
java.io.IOException

saveDHParams

public abstract void saveDHParams(java.lang.String path,
                                  int size,
                                  boolean sophieGermain)
                           throws java.io.IOException
Throws:
java.io.IOException

loadRootCertificates

public abstract void loadRootCertificates(java.lang.String path)
                                   throws java.io.IOException
Throws:
java.io.IOException

loadRootCertificates

public abstract void loadRootCertificates(java.io.InputStream is)
                                   throws java.io.IOException
Throws:
java.io.IOException

setPolicy

public void setPolicy(SSLPolicyInt p)
Set the policy for this SSLContext. This controls the various cryptographic negotiation decisions made during the handshake.

This policy will be used as the policy for all SSLSocket/SSLServerSockets created using this SSLContext.

Parameters:
p - the policy to attach to this context

getPolicy

public SSLPolicyInt getPolicy()
Get the current policy for this SSLContext

Returns:
the current policy


Copyright (c) 1999-2001 Claymore Systems, Inc., All Rights Reserved.