Package org.globus.gsi.stores
Class Stores
java.lang.Object
org.globus.gsi.stores.Stores
- Author:
- Jerome Revillard
-
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)
-
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
-