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 booleanprotected final AtomicBooleanprotected final byte[]protected final Encryptor.SigningOutputStreamprotected final List<? extends OutputStream> Fields inherited from class FilterOutputStream
out -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEncryptorWrapperStream(OutputStream ciphertext, Encryptor.SigningOutputStream signer, List<? extends OutputStream> wrappers, boolean closeOriginal) -
Method Summary
Methods inherited from class 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:
writein classFilterOutputStream- Throws:
IOException
-
write
- Overrides:
writein classFilterOutputStream- Throws:
IOException
-
write
- Overrides:
writein classFilterOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterOutputStream- Throws:
IOException
-
finish
- Throws:
IOException
-