Interface ConfigCryptoEngine

All Known Implementing Classes:
AbstractConfigCryptoEngine, ConfigCryptoAesGcmEngine

@API(status=STABLE, since="1.0") public interface ConfigCryptoEngine
Engine of cryptography transformations for configuration values.
Since:
0.2
Version:
1.0, 2020-04
Author:
(w) Iker Hernaez
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates a new Cipher for this engine.
    createSecretKey(char[] password)
    Creates a new SecretKey for this engine for the specified password.
    @Nullable String
    decrypt(@Nullable String value, SecretKey key, Cipher cipher)
    Decrypts the specified encrypted configuration value.
    void
    Destroys all secret information.
    @Nullable String
    encrypt(@Nullable String value, SecretKey key, Cipher cipher)
    Encrypts the specified plain configuration value.