public class DecryptStreamTransformer extends Object implements StreamTransformer
| Modifier and Type | Field and Description |
|---|---|
static String |
INVALID_KEY_ERROR_MESSAGE |
static String |
INVALID_PASS_PHRASE_ERROR_MESSAGE |
static String |
INVALID_PGP_MESSAGE_ERROR |
| Constructor and Description |
|---|
DecryptStreamTransformer(org.bouncycastle.openpgp.PGPSecretKey secretKey,
org.bouncycastle.openpgp.PGPSecretKeyRingCollection secretKeys,
String password) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
process(InputStream toBeDecrypted) |
public static final String INVALID_KEY_ERROR_MESSAGE
public static final String INVALID_PGP_MESSAGE_ERROR
public static final String INVALID_PASS_PHRASE_ERROR_MESSAGE
public DecryptStreamTransformer(org.bouncycastle.openpgp.PGPSecretKey secretKey,
org.bouncycastle.openpgp.PGPSecretKeyRingCollection secretKeys,
String password)
throws IOException
IOExceptionpublic InputStream process(InputStream toBeDecrypted) throws Exception
process in interface StreamTransformerExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.