Package org.forgerock.audit.secure
Interface KeyStoreHandler
-
- All Known Implementing Classes:
JcaKeyStoreHandler,KeyStoreHandlerDecorator
public interface KeyStoreHandlerHandles the access to a KeyStore.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetLocation()Returns the path to the keystore.StringgetPassword()Returns the password.KeyStoregetStore()Get the keystore.StringgetType()Returns the type of the keystore.voidsetStore(KeyStore keystore)Sets the keystore.voidstore()Saves the keystore.
-
-
-
Method Detail
-
getStore
KeyStore getStore()
Get the keystore.- Returns:
- the keystore.
-
setStore
void setStore(KeyStore keystore) throws Exception
Sets the keystore.- Parameters:
keystore- The keystore to use- Throws:
Exception- If an error occurs
-
getPassword
String getPassword()
Returns the password.- Returns:
- the password used to access the keystore
-
getLocation
String getLocation()
Returns the path to the keystore.- Returns:
- the path
-
getType
String getType()
Returns the type of the keystore.- Returns:
- the keystore type
-
-