org.mule.security
Class AbstractNamedEncryptionStrategy

java.lang.Object
  extended by org.mule.security.AbstractNamedEncryptionStrategy
All Implemented Interfaces:
EncryptionStrategy, Initialisable
Direct Known Subclasses:
AbstractJCEEncryptionStrategy, KeyBasedEncryptionStrategy

public abstract class AbstractNamedEncryptionStrategy
extends Object
implements EncryptionStrategy


Field Summary
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Constructor Summary
AbstractNamedEncryptionStrategy()
           
 
Method Summary
 byte[] decrypt(byte[] data, Object info)
           
 byte[] encrypt(byte[] data, Object info)
           
 String getName()
           
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.mule.api.EncryptionStrategy
decrypt, encrypt
 
Methods inherited from interface org.mule.api.lifecycle.Initialisable
initialise
 

Constructor Detail

AbstractNamedEncryptionStrategy

public AbstractNamedEncryptionStrategy()
Method Detail

getName

public String getName()
Specified by:
getName in interface EncryptionStrategy

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-2014 MuleSoft, Inc.. All Rights Reserved.