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