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:
java.io.Closeable
,java.lang.AutoCloseable
class ZipStandardCipherInputStream extends CipherInputStream<StandardDecrypter>
-
-
Constructor Summary
Constructors Constructor Description ZipStandardCipherInputStream(ZipEntryInputStream zipEntryInputStream, LocalFileHeader localFileHeader, char[] password, int bufferSize, boolean useUtf8ForPassword)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private byte[]
getStandardDecrypterHeaderBytes()
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
-
-
-
-
Constructor Detail
-
ZipStandardCipherInputStream
public ZipStandardCipherInputStream(ZipEntryInputStream zipEntryInputStream, LocalFileHeader localFileHeader, char[] password, int bufferSize, boolean useUtf8ForPassword) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
initializeDecrypter
protected StandardDecrypter initializeDecrypter(LocalFileHeader localFileHeader, char[] password, boolean useUtf8ForPassword) throws java.io.IOException
- Specified by:
initializeDecrypter
in classCipherInputStream<StandardDecrypter>
- Throws:
java.io.IOException
-
getStandardDecrypterHeaderBytes
private byte[] getStandardDecrypterHeaderBytes() throws java.io.IOException
- Throws:
java.io.IOException
-
-