org.mule.umo
Interface UMOEncryptionStrategy
- All Superinterfaces:
- Initialisable
- All Known Implementing Classes:
- AbstractJCEEncryptionStrategy, KeyBasedEncryptionStrategy, PasswordBasedEncryptionStrategy, SecretKeyEncryptionStrategy
public interface UMOEncryptionStrategy
- extends Initialisable
UMOEncryptionStrategy
can be used to provide different types of
Encryption strategy objects. These can be configured with different information
relivant with the encryption method being used. for example for Password Based
Encryption (PBE) a password, salt, iteration count and algorithm may be set on the
strategy.
encrypt
byte[] encrypt(byte[] data,
Object info)
throws CryptoFailureException
- Throws:
CryptoFailureException
decrypt
byte[] decrypt(byte[] data,
Object info)
throws CryptoFailureException
- Throws:
CryptoFailureException
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.