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 String
private CipherInputStream
private final Coder
private final InputStream
private boolean
private final byte[]
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
AES256SHA256DecoderInputStream
(InputStream in, Coder coder, String archiveName, byte[] passwordBytes) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
private CipherInputStream
init()
int
read()
int
read
(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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
-
init
- Throws:
IOException
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-