public class DecryptStreamTransformer extends Object implements StreamTransformer
| Constructor and Description |
|---|
DecryptStreamTransformer(InputStream toBeDecrypted,
org.bouncycastle.openpgp.PGPPublicKey publicKey,
org.bouncycastle.openpgp.PGPSecretKey secretKey,
String password,
Provider provider) |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(OutputStream out)
Initialize this writer to write in the out OutputStream
|
boolean |
write(OutputStream out,
AtomicLong bytesRequested)
Writes into out the number of bytes requested
|
public DecryptStreamTransformer(InputStream toBeDecrypted, org.bouncycastle.openpgp.PGPPublicKey publicKey, org.bouncycastle.openpgp.PGPSecretKey secretKey, String password, Provider provider) throws IOException
IOExceptionpublic void initialize(OutputStream out) throws Exception
initialize in interface StreamTransformerout - the OutputStream where this writer is going to write informationExceptionpublic boolean write(OutputStream out, AtomicLong bytesRequested) throws Exception
write in interface StreamTransformerout - the OutputStream where this writer is going to write informationbytesRequested - how many bytes this writer needs to writeExceptionCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.