Package org.forgerock.security.keystore
Class MapKeyStoreParameters
- java.lang.Object
-
- org.forgerock.security.keystore.MapKeyStoreParameters
-
- All Implemented Interfaces:
KeyStore.LoadStoreParameter
public class MapKeyStoreParameters extends Object implements KeyStore.LoadStoreParameter
Configures a keystore based on a key/value map.
-
-
Constructor Summary
Constructors Constructor Description MapKeyStoreParameters(Map<String,Object> properties)
Create a MapKeyStoreParameters based on the supplied properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getProperties()
Return the properties used to configure the keystore.KeyStore.ProtectionParameter
getProtectionParameter()
We do not expect this method to be called.
-
-
-
Method Detail
-
getProperties
public Map<String,Object> getProperties()
Return the properties used to configure the keystore.- Returns:
- the properties used to configure the keystore.
-
getProtectionParameter
public KeyStore.ProtectionParameter getProtectionParameter()
We do not expect this method to be called.- Specified by:
getProtectionParameter
in interfaceKeyStore.LoadStoreParameter
- Throws:
IllegalStateException
- if this method is called.
-
-