public interface EncryptionStrategy extends Initialisable, NamedObject
EncryptionStrategy 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.PHASE_NAME| Modifier and Type | Method and Description |
|---|---|
byte[] |
decrypt(byte[] data,
Object info) |
InputStream |
decrypt(InputStream data,
Object info) |
byte[] |
encrypt(byte[] data,
Object info) |
InputStream |
encrypt(InputStream data,
Object info) |
initialisegetNameInputStream encrypt(InputStream data, Object info) throws CryptoFailureException
CryptoFailureExceptionInputStream decrypt(InputStream data, Object info) throws CryptoFailureException
CryptoFailureExceptionbyte[] encrypt(byte[] data,
Object info)
throws CryptoFailureException
CryptoFailureExceptionbyte[] decrypt(byte[] data,
Object info)
throws CryptoFailureException
CryptoFailureExceptionCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.