public abstract class AbstractNamedEncryptionStrategy extends Object implements EncryptionStrategy
| Constructor and Description |
|---|
AbstractNamedEncryptionStrategy() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decrypt(byte[] data,
Object info)
Decrypts the given
data using this encryption strategy |
byte[] |
encrypt(byte[] data,
Object info)
Encrypts the given
data using this encryption strategy |
String |
getName() |
void |
setName(String name) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecrypt, encryptpublic String getName()
getName in interface org.mule.runtime.api.meta.NamedObjectpublic void setName(String name)
public byte[] encrypt(byte[] data,
Object info)
throws CryptoFailureException
EncryptionStrategydata using this encryption strategyencrypt in interface EncryptionStrategydata - the data to encryptinfo - information relevant with the encryption method being useddataCryptoFailureException - if an error occurs while encryptingpublic byte[] decrypt(byte[] data,
Object info)
throws CryptoFailureException
EncryptionStrategydata using this encryption strategydecrypt in interface EncryptionStrategydata - the data to decryptinfo - information relevant with the encryption method useddataCryptoFailureException - if an error occurs while decryptingCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.