Class AbstractKeyStoreLoader
- java.lang.Object
-
- org.apache.synapse.securevault.keystore.AbstractKeyStoreLoader
-
- All Implemented Interfaces:
IKeyStoreLoader
- Direct Known Subclasses:
JKSKeyStoreLoader,PKCS12KeyStoreLoader
public abstract class AbstractKeyStoreLoader extends Object implements IKeyStoreLoader
Provides the base for loading KeyStores
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.commons.logging.Loglog
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractKeyStoreLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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, wait
-
Methods inherited from interface org.apache.synapse.securevault.IKeyStoreLoader
getKeyStore
-
-
-
-
Method Detail
-
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
protected void handleException(String msg)
-
-