|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCOM.claymoresystems.sslg.SSLContextInt
COM.claymoresystems.ptls.SSLContext
org.globus.gsi.ptls.PureTLSContext
Extensions to the PureTLS's SSLContext
class
to allow setting the context credentials and trusted certificates
as objects instead of reading them from files.
Also allows the use of standard Java security objects for
credential and trusted certificates instead of proprietary
PureTLS/Cryptix format.
Field Summary |
Fields inherited from class COM.claymoresystems.sslg.SSLContextInt |
policy |
Constructor Summary | |
PureTLSContext()
|
Method Summary | |
protected COM.claymoresystems.ptls.SSLSessionData |
findSession(String key)
|
void |
setCredential(GlobusCredential cred)
Sets the credential. |
void |
setTrustedCertificates(X509Certificate[] certs)
Sets trusted certificates. |
protected void |
storeSession(String key,
COM.claymoresystems.ptls.SSLSessionData sd)
|
Methods inherited from class COM.claymoresystems.ptls.SSLContext |
destroySession, getRootList, loadDHParams, loadDHParams, loadEAYKeyFile, loadEAYKeyFile, loadPKCS12File, loadRootCertificates, loadRootCertificates, saveDHParams, saveEAYKeyFile, seedRNG, setCertificateChain, setPrivateKey, setPublicKey, setPublicKeyFromCert, setRootList, useRandomnessFile |
Methods inherited from class COM.claymoresystems.sslg.SSLContextInt |
getPolicy, setPolicy |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PureTLSContext()
Method Detail |
public void setTrustedCertificates(X509Certificate[] certs) throws GeneralSecurityException
certs
- the trusted certificates.
GeneralSecurityException
- in case of an errorpublic void setCredential(GlobusCredential cred) throws GeneralSecurityException
cred
- the credential
GeneralSecurityException
- in case of an errorprotected COM.claymoresystems.ptls.SSLSessionData findSession(String key)
protected void storeSession(String key, COM.claymoresystems.ptls.SSLSessionData sd)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |