Class AES256SHA256Decoder.AES256SHA256DecoderOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.apache.commons.compress.archivers.sevenz.AES256SHA256Decoder.AES256SHA256DecoderOutputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.AutoCloseable
- Enclosing class:
- AES256SHA256Decoder
private static final class AES256SHA256Decoder.AES256SHA256DecoderOutputStream extends java.io.OutputStream
-
-
Field Summary
Fields Modifier and Type Field Description private byte[]
cipherBlockBuffer
private int
cipherBlockSize
private javax.crypto.CipherOutputStream
cipherOutputStream
private int
count
-
Constructor Summary
Constructors Modifier Constructor Description private
AES256SHA256DecoderOutputStream(AES256Options opts, java.io.OutputStream out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
flush()
private void
flushBuffer()
void
write(byte[] b, int off, int len)
void
write(int b)
-
-
-
Constructor Detail
-
AES256SHA256DecoderOutputStream
private AES256SHA256DecoderOutputStream(AES256Options opts, java.io.OutputStream out)
-
-
Method Detail
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Overrides:
close
in classjava.io.OutputStream
- Throws:
java.io.IOException
-
flush
public void flush() throws java.io.IOException
- Specified by:
flush
in interfacejava.io.Flushable
- Overrides:
flush
in classjava.io.OutputStream
- Throws:
java.io.IOException
-
flushBuffer
private void flushBuffer() throws java.io.IOException
- Throws:
java.io.IOException
-
write
public void write(byte[] b, int off, int len) throws java.io.IOException
- Overrides:
write
in classjava.io.OutputStream
- Throws:
java.io.IOException
-
write
public void write(int b) throws java.io.IOException
- Specified by:
write
in classjava.io.OutputStream
- Throws:
java.io.IOException
-
-