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 StandardDecrypterinitializeDecrypter(LocalFileHeader localFileHeader, char[] password, boolean useUtf8ForPassword) Methods inherited from class CipherInputStream
close, endOfEntryReached, getDecrypter, getLastReadRawDataCache, getLocalFileHeader, getNumberOfBytesReadForThisEntry, read, read, read, readRawMethods inherited from class 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:
initializeDecrypterin classCipherInputStream<StandardDecrypter>- Throws:
IOException
-
getStandardDecrypterHeaderBytes
- Throws:
IOException
-