|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.globus.gsi.jsse.GlobusSSLHelper
public final class GlobusSSLHelper
This is a utility class designed to simplify common tasks required for configuring the globus ssl support.
Method Summary | |
---|---|
static java.security.KeyStore |
buildTrustStore(java.lang.String provider,
java.lang.String trustAnchorStoreType,
java.lang.String trustAnchorStoreLocation,
java.lang.String trustAnchorStorePassword)
Create a trust store using the supplied details. |
static java.security.KeyStore |
findCredentialStore(java.lang.String provider,
java.lang.String credentialStoreType,
java.lang.String credentialStoreLocation,
java.lang.String credentialStorePassword)
Create a configured CredentialStore using the supplied parameters. |
static java.security.cert.CertStore |
findCRLStore(java.lang.String crlPattern)
Create a store of Certificate Revocation Lists. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.security.KeyStore buildTrustStore(java.lang.String provider, java.lang.String trustAnchorStoreType, java.lang.String trustAnchorStoreLocation, java.lang.String trustAnchorStorePassword) throws GlobusSSLConfigurationException
provider
- The Java security provider to use.trustAnchorStoreType
- The type of key store to be constructed.trustAnchorStoreLocation
- The location of the trust store filetrustAnchorStorePassword
- The password for the trust store.
GlobusSSLConfigurationException
- If unable to construct the TrustStore.public static java.security.KeyStore findCredentialStore(java.lang.String provider, java.lang.String credentialStoreType, java.lang.String credentialStoreLocation, java.lang.String credentialStorePassword) throws GlobusSSLConfigurationException
provider
- The Java security provider to use.credentialStoreType
- The type of key store to be constructed.credentialStoreLocation
- The location of the credential store filecredentialStorePassword
- The password for the credential store.
GlobusSSLConfigurationException
- If unable to construct the Credential Store.public static java.security.cert.CertStore findCRLStore(java.lang.String crlPattern) throws GlobusSSLConfigurationException
crlPattern
- The pattern which defines the locations of the CRL's
GlobusSSLConfigurationException
- if the store cannot be loaded.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |