Interface EncryptionProvider<T extends ProviderConfig>

Type Parameters:
T - type of the custom configuration object
All Superinterfaces:
SecurityProvider
All Known Implementing Classes:
ConfigVaultProvider, TransitSecurityProvider

public interface EncryptionProvider<T extends ProviderConfig> extends SecurityProvider
Provider that can encrypt and decrypt secrets.
See Also:
  • Method Details

    • encryption

      @Deprecated(since="4.4.0", forRemoval=true) default EncryptionProvider.EncryptionSupport encryption(Config config)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Create encryption support from configuration.
      Parameters:
      config - config located on the node of the specific encryption config node
      Returns:
      encryption support to encrypt/decrypt
    • encryption

      default EncryptionProvider.EncryptionSupport encryption(Config config)
      Create encryption support from configuration.

      API Note: the default method implementation is provided for backward compatibility and will be removed in the next major version

      Parameters:
      config - config located on the node of the specific encryption config node
      Returns:
      encryption support to encrypt/decrypt
      Since:
      4.4.0
    • encryption

      EncryptionProvider.EncryptionSupport encryption(T providerConfig)
      Create encryption support from configuration object.
      Parameters:
      providerConfig - configuring a specific encryption
      Returns:
      encryption support to encrypt/decrypt