Package org.globus.gsi.stores
Class Stores
java.lang.Object
org.globus.gsi.stores.Stores
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
private static class
private static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final HashMap
<String, Stores.ReloadableCaCertStore> private static final long
private static final HashMap
<String, Stores.ReloadableCrlStore> private static String
private static String
private static String
private static final HashMap
<String, ResourceSigningPolicyStore> private static final HashMap
<String, Stores.ReloadableTrustStore> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CertStore
getCACertStore
(String casLocationPattern) static CertStore
getCRLStore
(String crlsLocationPattern) static CertStore
static String
static String
static CertStore
static String
static ResourceSigningPolicyStore
static KeyStore
static ResourceSigningPolicyStore
getSigningPolicyStore
(String signingPolicyLocationPattern) static KeyStore
getTrustStore
(String casLocationPattern) static void
setDefaultCAFilesPattern
(String defaultCAFilesPattern) static void
setDefaultCRLFilesPattern
(String defaultCRLFilesPattern) static void
setDefaultSigningPolicyFilesPattern
(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:
GeneralSecurityException
IOException
-
getTrustStore
public static KeyStore getTrustStore(String casLocationPattern) throws GeneralSecurityException, IOException - Throws:
GeneralSecurityException
IOException
-
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
-