Package org.forgerock.secrets
Class SecretsLoadStoreParameter
- java.lang.Object
-
- org.forgerock.secrets.SecretsLoadStoreParameter
-
- All Implemented Interfaces:
KeyStore.LoadStoreParameter
public class SecretsLoadStoreParameter extends Object implements KeyStore.LoadStoreParameter
Class used to initialise the keystore when it is initialised via the standard Java interfaces.
-
-
Constructor Summary
Constructors Constructor Description SecretsLoadStoreParameter(SecretsProvider secretsProvider, Purpose<? extends CryptoKey> purpose, Clock clock)
Initialises the keystore with the given secrets API objects.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyStore.ProtectionParameter
getProtectionParameter()
-
-
-
Constructor Detail
-
SecretsLoadStoreParameter
public SecretsLoadStoreParameter(SecretsProvider secretsProvider, Purpose<? extends CryptoKey> purpose, Clock clock)
Initialises the keystore with the given secrets API objects.- Parameters:
secretsProvider
- the provider to retrieve secrets from.purpose
- the purpose for which the keystore is being used.clock
- the clock to determine when secrets have expired.
-
-
Method Detail
-
getProtectionParameter
public KeyStore.ProtectionParameter getProtectionParameter()
- Specified by:
getProtectionParameter
in interfaceKeyStore.LoadStoreParameter
-
-