Class AES256SHA256Decoder.AES256SHA256DecoderInputStream
java.lang.Object
java.io.InputStream
org.apache.commons.compress.archivers.sevenz.AES256SHA256Decoder.AES256SHA256DecoderInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
AES256SHA256Decoder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate CipherInputStreamprivate final Coderprivate final InputStreamprivate booleanprivate final byte[] -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateAES256SHA256DecoderInputStream(InputStream in, Coder coder, String archiveName, byte[] passwordBytes) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()private CipherInputStreaminit()intread()intread(byte[] b, int off, int len) Methods inherited from class java.io.InputStream
available, mark, markSupported, read, reset, skip
-
Field Details
-
in
-
coder
-
archiveName
-
passwordBytes
private final byte[] passwordBytes -
isInitialized
private boolean isInitialized -
cipherInputStream
-
-
Constructor Details
-
AES256SHA256DecoderInputStream
private AES256SHA256DecoderInputStream(InputStream in, Coder coder, String archiveName, byte[] passwordBytes)
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-
init
- Throws:
IOException
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-