Class SecretsLoadStoreParameter

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