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, wait
decrypt, encrypt
initialise
public String getName()
NamedObject
getName
in interface NamedObject
public void setName(String name)
public byte[] encrypt(byte[] data, Object info) throws CryptoFailureException
encrypt
in interface EncryptionStrategy
CryptoFailureException
public byte[] decrypt(byte[] data, Object info) throws CryptoFailureException
decrypt
in interface EncryptionStrategy
CryptoFailureException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.