COM.claymoresystems.sslg
Class SSLContextInt
java.lang.Object
COM.claymoresystems.sslg.SSLContextInt
- Direct Known Subclasses:
- SSLContext
public abstract class SSLContextInt
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
policy
protected SSLPolicyInt policy
SSLContextInt
public SSLContextInt()
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.