public abstract class AbstractNamedEncryptionStrategy extends Object implements EncryptionStrategy
PHASE_NAME| Constructor and Description |
|---|
AbstractNamedEncryptionStrategy() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decrypt(byte[] data,
Object info) |
byte[] |
encrypt(byte[] data,
Object info) |
String |
getName()
Gets the name of the object
|
void |
setName(String name) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecrypt, encryptinitialisepublic String getName()
NamedObjectgetName in interface NamedObjectpublic void setName(String name)
public byte[] encrypt(byte[] data,
Object info)
throws CryptoFailureException
encrypt in interface EncryptionStrategyCryptoFailureExceptionpublic byte[] decrypt(byte[] data,
Object info)
throws CryptoFailureException
decrypt in interface EncryptionStrategyCryptoFailureExceptionCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.