@Transactional public class PropertyBasedEncryptionSettings extends Object implements EncryptionSettings
| Constructor and Description |
|---|
PropertyBasedEncryptionSettings(PropertyManager propertyManager,
HomeDirectoryService homeDirectoryService) |
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
getDefaultEncryptor() |
Optional<String> |
getEncryptionKeyPath(String encryptor) |
String |
getKeyFilesDirectoryPath() |
void |
setDefaultEncryptor(String encryptor) |
void |
setEncryptionKeyPath(String encryptor,
String keyPath) |
public PropertyBasedEncryptionSettings(PropertyManager propertyManager, HomeDirectoryService homeDirectoryService)
public Optional<String> getDefaultEncryptor()
getDefaultEncryptor in interface EncryptionSettingspublic void setDefaultEncryptor(String encryptor)
setDefaultEncryptor in interface EncryptionSettingspublic void setEncryptionKeyPath(String encryptor, String keyPath)
setEncryptionKeyPath in interface EncryptionSettingspublic Optional<String> getEncryptionKeyPath(String encryptor)
getEncryptionKeyPath in interface EncryptionSettingspublic String getKeyFilesDirectoryPath()
getKeyFilesDirectoryPath in interface EncryptionSettingsCopyright © 2023 Atlassian. All rights reserved.