Interface CryptoProviderEngineBuilder

All Known Implementing Classes:
CryptoProviderBuilderImpl

@API(status=STABLE, since="1.0") public interface CryptoProviderEngineBuilder
Required engine configuration values cryptography transformations provider builder.
Since:
1.0
Version:
1.0, 2025-05
Author:
(w) Iker Hernaez
See Also:
  • Method Details

    • withEngine

      default CryptoProviderKeyBuilder withEngine(ConfigCryptoEngine engine)
      Sets the cryptography transformations engine to use.
      Parameters:
      engine - The cryptography transformations engine to use.
      Returns:
      Next builder, for method chaining.
    • withEngine

      CryptoProviderKeyBuilder withEngine(ConfigCryptoEngine engine, boolean destroyEngine)
      Sets the cryptography transformations engine to use.
      Parameters:
      engine - The cryptography transformations engine to use.
      destroyEngine - If the cryptography engine must be destroyed on provider destruction.
      Returns:
      Next builder, for method chaining.
    • withAesGcmEngine

      default CryptoProviderKeyBuilder withAesGcmEngine(byte[] salt)
      Creates a new cryptography transformations provider builder based on Java Cryptography Architecture using AES with GCM symmetric algorithm.
      Parameters:
      salt - The salt to apply to password based secret keys.
      Returns:
      Next builder, for method chaining.
    • withAesGcmEngine

      CryptoProviderKeyBuilder withAesGcmEngine(byte[] salt, boolean destroyEngine)
      Creates a new cryptography transformations provider builder based on Java Cryptography Architecture using AES with GCM symmetric algorithm.
      Parameters:
      salt - The salt to apply to password based secret keys.
      destroyEngine - If the cryptography engine must be destroyed on provider destruction.
      Returns:
      Next builder, for method chaining.