Module io.ebean.api

Interface EncryptKeyManager

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface EncryptKeyManager
Determine keys used for encryption and decryption.
  • Method Summary

    Modifier and Type
    Method
    Description
    getEncryptKey(String tableName, String columnName)
    Return the key used to encrypt and decrypt a property mapping to the given table and column.
    default void
    Initialise the EncryptKeyManager.
  • Method Details

    • initialise

      default void initialise()
      Initialise the EncryptKeyManager.

      This gives the EncryptKeyManager the opportunity to get keys etc.

    • getEncryptKey

      EncryptKey getEncryptKey(String tableName, String columnName)
      Return the key used to encrypt and decrypt a property mapping to the given table and column.