Interface EncryptionSettings

All Known Implementing Classes:
PropertyBasedEncryptionSettings

public interface EncryptionSettings
  • Method Details

    • getDefaultEncryptor

      Optional<String> getDefaultEncryptor()
      Returns name of the default encryptor or Optional.empty() if encryption is disabled.
    • setDefaultEncryptor

      void setDefaultEncryptor(String name)
      Sets the name of the default encryptor.
      Parameters:
      name - name of the default encryptor; null disables encryption
    • setEncryptionKeyPath

      void setEncryptionKeyPath(String encryptor, String keyPath)
      Sets encryption key path for specified encryptor
    • getEncryptionKeyPath

      Optional<String> getEncryptionKeyPath(String encryptor)
      Gets encryption key path for specified encryptor if present.
    • getKeyFilesDirectoryPath

      String getKeyFilesDirectoryPath()
      Returns path of the directory that stores encryption keys.