public interface EncryptionSettings
Modifier and Type | Method and Description |
---|---|
Optional<String> |
getDefaultEncryptor()
Returns name of the default encryptor or
Optional.empty() if encryption is disabled. |
Optional<String> |
getEncryptionKeyPath(String encryptor)
Gets encryption key path for specified encryptor if present.
|
String |
getKeyFilesDirectoryPath()
Returns path of the directory that stores encryption keys.
|
void |
setDefaultEncryptor(String name)
Sets the name of the default encryptor.
|
void |
setEncryptionKeyPath(String encryptor,
String keyPath)
Sets encryption key path for specified encryptor
|
Optional<String> getDefaultEncryptor()
Optional.empty()
if encryption is disabled.void setDefaultEncryptor(String name)
name
- name of the default encryptor; null
disables encryptionvoid setEncryptionKeyPath(String encryptor, String keyPath)
Optional<String> getEncryptionKeyPath(String encryptor)
String getKeyFilesDirectoryPath()
Copyright © 2021 Atlassian. All rights reserved.