public class EncryptStreamTransformer extends Object implements StreamTransformer
| Constructor and Description |
|---|
EncryptStreamTransformer(InputStream toBeEncrypted,
org.bouncycastle.openpgp.PGPPublicKey publicKey,
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 EncryptStreamTransformer(InputStream toBeEncrypted, org.bouncycastle.openpgp.PGPPublicKey publicKey, 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.