Package org.forgerock.audit.secure
Interface KeyStoreHandler
-
- All Known Implementing Classes:
JcaKeyStoreHandler
,KeyStoreHandlerDecorator
public interface KeyStoreHandler
Handles the access to a KeyStore.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getLocation()
Returns the path to the keystore.String
getPassword()
Returns the password.KeyStore
getStore()
Get the keystore.String
getType()
Returns the type of the keystore.void
setStore(KeyStore keystore)
Sets the keystore.void
store()
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
-
-