public class ListOfKeyvaluesEncrypter extends PolicyTypeEncrypter<List<Map<String,Object>>>
TEMPLATE_PREFIX, TEMPLATE_SUFFIX| Constructor and Description |
|---|
ListOfKeyvaluesEncrypter(com.mulesoft.mule.runtime.gw.internal.encryption.RuntimeEncrypter runtimeEncrypter,
boolean isSensitiveOnlyEnabled,
List<PolicyProperty> policyProperties) |
| Modifier and Type | Method and Description |
|---|---|
protected EncryptedValueResult |
decryptSingle(String key,
List<Map<String,Object>> keyvalues)
Decrypts the given value if it is encrypted.
|
protected EncryptedValueResult |
encryptSingle(String rootKey,
List<Map<String,Object>> keyvalues)
Encrypts the given value
|
protected boolean |
supports(String key,
Optional<PolicyProperty> property) |
decrypt, encrypt, encrypt, supportspublic ListOfKeyvaluesEncrypter(com.mulesoft.mule.runtime.gw.internal.encryption.RuntimeEncrypter runtimeEncrypter,
boolean isSensitiveOnlyEnabled,
List<PolicyProperty> policyProperties)
protected EncryptedValueResult encryptSingle(String rootKey, List<Map<String,Object>> keyvalues)
PolicyTypeEncrypterencryptSingle in class PolicyTypeEncrypter<List<Map<String,Object>>>rootKey - the key of the config data valuekeyvalues - the actual value to encrypt or decryptEncryptedValueResult containing the result of the processprotected EncryptedValueResult decryptSingle(String key, List<Map<String,Object>> keyvalues)
PolicyTypeEncrypterdecryptSingle in class PolicyTypeEncrypter<List<Map<String,Object>>>key - the key of the config data valuekeyvalues - the actual value to encrypt or decryptEncryptedValueResult containing the result of the processprotected boolean supports(String key, Optional<PolicyProperty> property)
Copyright © 2014–2022 MuleSoft, Inc.. All rights reserved.