com.avaje.ebean.config.EncryptKeyManager Maven / Gradle / Ivy
package com.avaje.ebean.config;
/**
* Determine keys used for encryption and decryption.
*
* @author rbygrave
*/
public interface EncryptKeyManager {
/**
* Initialise the EncryptKeyManager.
*
* This gives the EncryptKeyManager the opportunity to get keys etc.
*
*/
void initialise();
/**
* Return the key used to encrypt and decrypt a property mapping to the given
* table and column.
*/
EncryptKey getEncryptKey(String tableName, String columnName);
}