Package net.lingala.zip4j.crypto
Class StandardDecrypter
java.lang.Object
net.lingala.zip4j.crypto.StandardDecrypter
- All Implemented Interfaces:
Decrypter
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionStandardDecrypter
(char[] password, long crc, long lastModifiedFileTime, byte[] headerBytes, boolean useUtf8ForPassword) -
Method Summary
Modifier and TypeMethodDescriptionint
decryptData
(byte[] buff, int start, int len) private void
init
(byte[] headerBytes, char[] password, long lastModifiedFileTime, long crc, boolean useUtf8ForPassword)
-
Field Details
-
zipCryptoEngine
-
-
Constructor Details
-
StandardDecrypter
public StandardDecrypter(char[] password, long crc, long lastModifiedFileTime, byte[] headerBytes, boolean useUtf8ForPassword) throws ZipException - Throws:
ZipException
-
-
Method Details
-
decryptData
- 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
-