public class JcaKeyStoreHandler extends Object implements KeyStoreHandler
| Constructor and Description |
|---|
JcaKeyStoreHandler(String type,
String location,
String password)
Creates a new keystore handler.
|
| Modifier and Type | Method and 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.
|
public JcaKeyStoreHandler(String type, String location, String password) throws Exception
type - The type of keystorelocation - The path of the keystorepassword - The password to access the keystoreException - If an error occurs while initialising the keystorepublic KeyStore getStore()
KeyStoreHandlergetStore in interface KeyStoreHandlerpublic void setStore(KeyStore keystore) throws Exception
KeyStoreHandlersetStore in interface KeyStoreHandlerkeystore - The keystore to useException - If an error occurspublic void store()
throws Exception
KeyStoreHandlerstore in interface KeyStoreHandlerException - If an error occurs.public String getPassword()
KeyStoreHandlergetPassword in interface KeyStoreHandlerpublic String getLocation()
KeyStoreHandlergetLocation in interface KeyStoreHandlerpublic String getType()
KeyStoreHandlergetType in interface KeyStoreHandlerCopyright © 2025 Open Identity Platform Community. All rights reserved.