Package org.globus.gsi.stores
Class Stores
- java.lang.Object
-
- org.globus.gsi.stores.Stores
-
public class Stores extends Object
- Author:
- Jerome Revillard
-
-
Constructor Summary
Constructors Constructor Description Stores()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CertStoregetCACertStore(String casLocationPattern)static CertStoregetCRLStore(String crlsLocationPattern)static CertStoregetDefaultCACertStore()static StringgetDefaultCAFilesPattern()static StringgetDefaultCRLFilesPattern()static CertStoregetDefaultCRLStore()static StringgetDefaultSigningPolicyFilesPattern()static ResourceSigningPolicyStoregetDefaultSigningPolicyStore()static KeyStoregetDefaultTrustStore()static ResourceSigningPolicyStoregetSigningPolicyStore(String signingPolicyLocationPattern)static KeyStoregetTrustStore(String casLocationPattern)static voidsetDefaultCAFilesPattern(String defaultCAFilesPattern)static voidsetDefaultCRLFilesPattern(String defaultCRLFilesPattern)static voidsetDefaultSigningPolicyFilesPattern(String defaultSigningPolicyFilesPattern)
-
-
-
Method Detail
-
getDefaultTrustStore
public static KeyStore getDefaultTrustStore() throws GeneralSecurityException, IOException
- 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
public static String getDefaultCAFilesPattern()
-
setDefaultCAFilesPattern
public static void setDefaultCAFilesPattern(String defaultCAFilesPattern)
-
getDefaultCRLFilesPattern
public static String getDefaultCRLFilesPattern()
-
setDefaultCRLFilesPattern
public static void setDefaultCRLFilesPattern(String defaultCRLFilesPattern)
-
getDefaultSigningPolicyFilesPattern
public static String getDefaultSigningPolicyFilesPattern()
-
setDefaultSigningPolicyFilesPattern
public static void setDefaultSigningPolicyFilesPattern(String defaultSigningPolicyFilesPattern)
-
-