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 AtomicBoolean
protected final FileMetadata
protected 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:
IOException
org.bouncycastle.openpgp.PGPException
-
-
Method Details
-
write
- Overrides:
write
in classFilterOutputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classFilterOutputStream
- Throws:
IOException
-
update
public void update(byte[] b, int off, int len) -
init
- Throws:
IOException
org.bouncycastle.openpgp.PGPException
-
finish
- Throws:
IOException
org.bouncycastle.openpgp.PGPException
-