public class AgentConfigUpdateEncryptor extends PropertiesEncryptor implements Encryptor<AgentConfigsUpdateEvent>
encryptionServiceENCRYPTED_PROPERTY_PREFIX, ENCRYPTED_PROPERTY_SCHEME, NONE| Constructor and Description |
|---|
AgentConfigUpdateEncryptor(EncryptionService encryptionService,
CredentialStoreService credentialStore,
com.google.inject.Provider<Clusters> clusters) |
| Modifier and Type | Method and Description |
|---|---|
void |
decryptSensitiveData(AgentConfigsUpdateEvent event)
Decrypts the given decryptible object
|
void |
encryptSensitiveData(AgentConfigsUpdateEvent event)
Encrypts the given encryptible object
|
String |
getEncryptionKey() |
decrypt, encrypt, encrypt, encrypt@Inject public AgentConfigUpdateEncryptor(EncryptionService encryptionService, CredentialStoreService credentialStore, com.google.inject.Provider<Clusters> clusters)
public void encryptSensitiveData(AgentConfigsUpdateEvent event)
EncryptorencryptSensitiveData in interface Encryptor<AgentConfigsUpdateEvent>event - to be encryptedpublic void decryptSensitiveData(AgentConfigsUpdateEvent event)
EncryptordecryptSensitiveData in interface Encryptor<AgentConfigsUpdateEvent>event - to be decryptedpublic String getEncryptionKey()
getEncryptionKey in interface Encryptor<AgentConfigsUpdateEvent>Copyright © 2022 Apache Software Foundation. All rights reserved.