public class ListOfStringsEncrypter extends PolicyTypeEncrypter<List<String>>
StringTEMPLATE_PREFIX, TEMPLATE_SUFFIX| Constructor and Description |
|---|
ListOfStringsEncrypter(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<String> value)
Decrypts the given value if it is encrypted.
|
protected EncryptedValueResult |
encryptSingle(String key,
List<String> values)
Encrypts the given value
|
protected boolean |
supports(String key,
Optional<PolicyProperty> property) |
decrypt, encrypt, encrypt, supportspublic ListOfStringsEncrypter(com.mulesoft.mule.runtime.gw.internal.encryption.RuntimeEncrypter runtimeEncrypter,
boolean isSensitiveOnlyEnabled,
List<PolicyProperty> policyProperties)
protected EncryptedValueResult encryptSingle(String key, List<String> values)
PolicyTypeEncrypterencryptSingle in class PolicyTypeEncrypter<List<String>>key - the key of the config data valuevalues - the actual value to encrypt or decryptEncryptedValueResult containing the result of the processprotected EncryptedValueResult decryptSingle(String key, List<String> value)
PolicyTypeEncrypterdecryptSingle in class PolicyTypeEncrypter<List<String>>key - the key of the config data valuevalue - the actual value to encrypt or decryptEncryptedValueResult containing the result of the processprotected boolean supports(String key, Optional<PolicyProperty> property)
supports in class PolicyTypeEncrypter<List<String>>Copyright © 2014–2025 MuleSoft, Inc.. All rights reserved.