public interface Encryptor<T>
Modifier and Type | Field and Description |
---|---|
static String |
ENCRYPTED_PROPERTY_PREFIX |
static String |
ENCRYPTED_PROPERTY_SCHEME |
static Encryptor |
NONE |
Modifier and Type | Method and Description |
---|---|
void |
decryptSensitiveData(T decryptible)
Decrypts the given decryptible object
|
void |
encryptSensitiveData(T encryptible)
Encrypts the given encryptible object
|
String |
getEncryptionKey() |
static final String ENCRYPTED_PROPERTY_PREFIX
static final String ENCRYPTED_PROPERTY_SCHEME
static final Encryptor NONE
void encryptSensitiveData(T encryptible)
encryptible
- to be encryptedvoid decryptSensitiveData(T decryptible)
decryptible
- to be decryptedString getEncryptionKey()
Copyright © 2022 Apache Software Foundation. All rights reserved.