org.mule.security
Class AbstractNamedEncryptionStrategy
java.lang.Object
org.mule.security.AbstractNamedEncryptionStrategy
- All Implemented Interfaces:
- EncryptionStrategy, Initialisable, NamedObject
- Direct Known Subclasses:
- AbstractJCEEncryptionStrategy, KeyBasedEncryptionStrategy
public abstract class AbstractNamedEncryptionStrategy
- extends Object
- implements EncryptionStrategy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractNamedEncryptionStrategy
public AbstractNamedEncryptionStrategy()
getName
public String getName()
- Description copied from interface:
NamedObject
- Gets the name of the object
- Specified by:
getName
in interface NamedObject
- Returns:
- the name of the object
setName
public void setName(String name)
encrypt
public byte[] encrypt(byte[] data,
Object info)
throws CryptoFailureException
- Specified by:
encrypt
in interface EncryptionStrategy
- Throws:
CryptoFailureException
decrypt
public byte[] decrypt(byte[] data,
Object info)
throws CryptoFailureException
- Specified by:
decrypt
in interface EncryptionStrategy
- Throws:
CryptoFailureException
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.