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 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)
-
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
-