Class Stores
java.lang.Object
org.globus.gsi.stores.Stores
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static classprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final HashMap<String, Stores.ReloadableCaCertStore> private static final longprivate static final HashMap<String, Stores.ReloadableCrlStore> private static Stringprivate static Stringprivate static Stringprivate static final HashMap<String, ResourceSigningPolicyStore> private static final HashMap<String, Stores.ReloadableTrustStore> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CertStoregetCACertStore(String casLocationPattern) static CertStoregetCRLStore(String crlsLocationPattern) static CertStorestatic Stringstatic Stringstatic CertStorestatic Stringstatic ResourceSigningPolicyStorestatic KeyStorestatic ResourceSigningPolicyStoregetSigningPolicyStore(String signingPolicyLocationPattern) static KeyStoregetTrustStore(String casLocationPattern) static voidsetDefaultCAFilesPattern(String defaultCAFilesPattern) static voidsetDefaultCRLFilesPattern(String defaultCRLFilesPattern) static voidsetDefaultSigningPolicyFilesPattern(String defaultSigningPolicyFilesPattern)
-
Field Details
-
defaultCAFilesPattern
-
defaultCRLFilesPattern
-
defaultSigningPolicyFilesPattern
-
TRUST_STORES
-
CRL_STORES
-
CA_CERT_STORES
-
SIGNING_POLICY_STORES
-
CACHE_TIME_MILLIS
private static final long CACHE_TIME_MILLIS- See Also:
-
-
Constructor Details
-
Stores
public Stores()
-
-
Method Details
-
getDefaultTrustStore
- Throws:
GeneralSecurityExceptionIOException
-
getTrustStore
public static KeyStore getTrustStore(String casLocationPattern) throws GeneralSecurityException, IOException - Throws:
GeneralSecurityExceptionIOException
-
getDefaultCACertStore
public static CertStore getDefaultCACertStore() throws GeneralSecurityException, NoSuchAlgorithmException -
getCACertStore
public static CertStore getCACertStore(String casLocationPattern) throws GeneralSecurityException, NoSuchAlgorithmException -
getDefaultCRLStore
public static CertStore getDefaultCRLStore() throws GeneralSecurityException, NoSuchAlgorithmException -
getCRLStore
public static CertStore getCRLStore(String crlsLocationPattern) throws GeneralSecurityException, NoSuchAlgorithmException -
getDefaultSigningPolicyStore
public static ResourceSigningPolicyStore getDefaultSigningPolicyStore() throws GeneralSecurityException- Throws:
GeneralSecurityException
-
getSigningPolicyStore
public static ResourceSigningPolicyStore getSigningPolicyStore(String signingPolicyLocationPattern) throws GeneralSecurityException - Throws:
GeneralSecurityException
-
getDefaultCAFilesPattern
-
setDefaultCAFilesPattern
-
getDefaultCRLFilesPattern
-
setDefaultCRLFilesPattern
-
getDefaultSigningPolicyFilesPattern
-
setDefaultSigningPolicyFilesPattern
-