Package org.c02e.jpgpj
Class Encryptor.EncryptorWrapperStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.c02e.jpgpj.Encryptor.EncryptorWrapperStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
- Enclosing class:
Encryptor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final boolean
protected final AtomicBoolean
protected final byte[]
protected final Encryptor.SigningOutputStream
protected final List
<? extends OutputStream> Fields inherited from class java.io.FilterOutputStream
out
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
EncryptorWrapperStream
(OutputStream ciphertext, Encryptor.SigningOutputStream signer, List<? extends OutputStream> wrappers, boolean closeOriginal) -
Method Summary
Methods inherited from class java.io.FilterOutputStream
flush
-
Field Details
-
finished
-
signingstream
-
stack
-
oneByte
protected final byte[] oneByte -
closeInitialStream
protected final boolean closeInitialStream
-
-
Constructor Details
-
EncryptorWrapperStream
protected EncryptorWrapperStream(OutputStream ciphertext, Encryptor.SigningOutputStream signer, List<? extends OutputStream> wrappers, boolean closeOriginal)
-
-
Method Details
-
write
- Overrides:
write
in classFilterOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classFilterOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classFilterOutputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classFilterOutputStream
- Throws:
IOException
-
finish
- Throws:
IOException
-