Package org.forgerock.secrets
Class SecretsLoadStoreParameter
java.lang.Object
org.forgerock.secrets.SecretsLoadStoreParameter
- All Implemented Interfaces:
KeyStore.LoadStoreParameter
Class used to initialise the keystore when it is initialised via the standard Java interfaces.
-
Constructor Summary
ConstructorDescriptionSecretsLoadStoreParameter
(SecretsProvider secretsProvider, Set<Purpose<? extends CryptoKey>> purposes, Clock clock) Initialises the keystore with the given secrets API objects.SecretsLoadStoreParameter
(SecretsProvider secretsProvider, Purpose<? extends CryptoKey> purpose, Clock clock) Initialises the keystore with the given secrets API objects. -
Method Summary
-
Constructor Details
-
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.
-
SecretsLoadStoreParameter
public SecretsLoadStoreParameter(SecretsProvider secretsProvider, Set<Purpose<? extends CryptoKey>> purposes, Clock clock) Initialises the keystore with the given secrets API objects.- Parameters:
secretsProvider
- the provider to retrieve secrets from.purposes
- the purposes for which the keystore is being used.clock
- the clock to determine when secrets have expired.
-
-
Method Details
-
getProtectionParameter
- Specified by:
getProtectionParameter
in interfaceKeyStore.LoadStoreParameter
-