Package net.lingala.zip4j.io.inputstream
Class ZipStandardCipherInputStream
java.lang.Object
java.io.InputStream
net.lingala.zip4j.io.inputstream.CipherInputStream<StandardDecrypter>
net.lingala.zip4j.io.inputstream.ZipStandardCipherInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionZipStandardCipherInputStream
(ZipEntryInputStream zipEntryInputStream, LocalFileHeader localFileHeader, char[] password, int bufferSize, boolean useUtf8ForPassword) -
Method Summary
Modifier and TypeMethodDescriptionprivate byte[]
protected StandardDecrypter
initializeDecrypter
(LocalFileHeader localFileHeader, char[] password, boolean useUtf8ForPassword) Methods inherited from class net.lingala.zip4j.io.inputstream.CipherInputStream
close, endOfEntryReached, getDecrypter, getLastReadRawDataCache, getLocalFileHeader, getNumberOfBytesReadForThisEntry, read, read, read, readRaw
Methods inherited from class java.io.InputStream
available, mark, markSupported, reset, skip
-
Constructor Details
-
ZipStandardCipherInputStream
public ZipStandardCipherInputStream(ZipEntryInputStream zipEntryInputStream, LocalFileHeader localFileHeader, char[] password, int bufferSize, boolean useUtf8ForPassword) throws IOException - Throws:
IOException
-
-
Method Details
-
initializeDecrypter
protected StandardDecrypter initializeDecrypter(LocalFileHeader localFileHeader, char[] password, boolean useUtf8ForPassword) throws IOException - Specified by:
initializeDecrypter
in classCipherInputStream<StandardDecrypter>
- Throws:
IOException
-
getStandardDecrypterHeaderBytes
- Throws:
IOException
-