public class DefaultRuntimeEncrypter extends RuntimeEncrypter
RuntimeEncrypterPREFIX, SUFFIX| Constructor and Description |
|---|
DefaultRuntimeEncrypter(org.mule.encryption.Encrypter encrypter) |
| Modifier and Type | Method and Description |
|---|---|
String |
decrypt(String valueToDecrypt)
Decrypts a single value
|
String |
encrypt(String valueToEncrypt)
Encrypts a single value.
|
containsEncryptionExpression, extractValueFromExpressionpublic DefaultRuntimeEncrypter(org.mule.encryption.Encrypter encrypter)
public String encrypt(String valueToEncrypt) throws GatewayEncryptionException
RuntimeEncrypterencrypt in class RuntimeEncryptervalueToEncrypt - The value that should be encryptedGatewayEncryptionException - When there was an error while trying to encryptpublic String decrypt(String valueToDecrypt) throws GatewayEncryptionException
RuntimeEncrypterdecrypt in class RuntimeEncryptervalueToDecrypt - The value that should be decryptedGatewayEncryptionException - When there was an error while trying to decryptCopyright © 2014–2022 MuleSoft, Inc.. All rights reserved.