Package net.lingala.zip4j.crypto
Class StandardDecrypter
- java.lang.Object
-
- net.lingala.zip4j.crypto.StandardDecrypter
-
-
Field Summary
Fields Modifier and Type Field Description private ZipCryptoEngine
zipCryptoEngine
-
Constructor Summary
Constructors Constructor Description StandardDecrypter(char[] password, long crc, long lastModifiedFileTime, byte[] headerBytes, boolean useUtf8ForPassword)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
decryptData(byte[] buff, int start, int len)
private void
init(byte[] headerBytes, char[] password, long lastModifiedFileTime, long crc, boolean useUtf8ForPassword)
-
-
-
Field Detail
-
zipCryptoEngine
private ZipCryptoEngine zipCryptoEngine
-
-
Constructor Detail
-
StandardDecrypter
public StandardDecrypter(char[] password, long crc, long lastModifiedFileTime, byte[] headerBytes, boolean useUtf8ForPassword) throws ZipException
- Throws:
ZipException
-
-
Method Detail
-
decryptData
public int decryptData(byte[] buff, int start, int len) throws ZipException
- Specified by:
decryptData
in interfaceDecrypter
- Throws:
ZipException
-
init
private void init(byte[] headerBytes, char[] password, long lastModifiedFileTime, long crc, boolean useUtf8ForPassword) throws ZipException
- Throws:
ZipException
-
-