public class MockEncryptionStrategy extends Named implements EncryptionStrategy
| Constructor and Description |
|---|
MockEncryptionStrategy() |
| 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) |
void |
initialise() |
public byte[] encrypt(byte[] data,
Object info)
throws CryptoFailureException
encrypt in interface EncryptionStrategyCryptoFailureExceptionpublic byte[] decrypt(byte[] data,
Object info)
throws CryptoFailureException
decrypt in interface EncryptionStrategyCryptoFailureExceptionpublic void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic InputStream decrypt(InputStream data, Object info) throws CryptoFailureException
decrypt in interface EncryptionStrategyCryptoFailureExceptionpublic InputStream encrypt(InputStream data, Object info) throws CryptoFailureException
encrypt in interface EncryptionStrategyCryptoFailureExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.