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 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