Class AbstractKeyStoreLoader
java.lang.Object
org.apache.synapse.securevault.keystore.AbstractKeyStoreLoader
- All Implemented Interfaces:
IKeyStoreLoader
- Direct Known Subclasses:
JKSKeyStoreLoader,PKCS12KeyStoreLoader
Provides the base for loading KeyStores
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected KeyStoregetKeyStore(String location, String storePassword, String storeType, String provider) Constructs a KeyStore based on keystore location , keystore password , keystore type and providerprotected voidhandleException(String msg) protected voidhandleException(String msg, Exception e) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.synapse.securevault.IKeyStoreLoader
getKeyStore
-
Field Details
-
log
protected org.apache.commons.logging.Log log
-
-
Constructor Details
-
AbstractKeyStoreLoader
protected AbstractKeyStoreLoader()
-
-
Method Details
-
getKeyStore
protected KeyStore getKeyStore(String location, String storePassword, String storeType, String provider) Constructs a KeyStore based on keystore location , keystore password , keystore type and provider- Parameters:
location- The location of the KeyStorestorePassword- Password to unlock KeyStorestoreType- KeyStore typeprovider- Provider- Returns:
- KeyStore Instance
-
handleException
-
handleException
-