Package org.forgerock.audit.secure
Interface KeyStoreHandler
- All Known Implementing Classes:
JcaKeyStoreHandler
,KeyStoreHandlerDecorator
public interface KeyStoreHandler
Handles the access to a KeyStore.
-
Method Details
-
getStore
KeyStore getStore()Get the keystore.- Returns:
- the keystore.
-
setStore
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
-
store
Saves the keystore.- Throws:
Exception
- If an error occurs.
-