Package org.c02e.jpgpj
Class Encryptor.SigningOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.c02e.jpgpj.Encryptor.SigningOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
- Enclosing class:
Encryptor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AtomicBooleanprotected final FileMetadataprotected List<org.bouncycastle.openpgp.PGPSignatureGenerator> Fields inherited from class java.io.FilterOutputStream
out -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.FilterOutputStream
flush, write, write
-
Field Details
-
finished
-
meta
-
sigs
-
-
Constructor Details
-
SigningOutputStream
public SigningOutputStream(OutputStream out, List<Key> keys, FileMetadata meta) throws IOException, org.bouncycastle.openpgp.PGPException - Throws:
IOExceptionorg.bouncycastle.openpgp.PGPException
-
-
Method Details
-
write
- Overrides:
writein classFilterOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterOutputStream- Throws:
IOException
-
update
public void update(byte[] b, int off, int len) -
init
- Throws:
IOExceptionorg.bouncycastle.openpgp.PGPException
-
finish
- Throws:
IOExceptionorg.bouncycastle.openpgp.PGPException
-