Package net.lingala.zip4j.crypto
Class AESDecrypter
- java.lang.Object
-
- net.lingala.zip4j.crypto.AESDecrypter
-
- All Implemented Interfaces:
IDecrypter
public class AESDecrypter extends Object implements IDecrypter
-
-
Constructor Summary
Constructors Constructor Description AESDecrypter(LocalFileHeader localFileHeader, byte[] salt, byte[] passwordVerifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdecryptData(byte[] buff)intdecryptData(byte[] buff, int start, int len)byte[]getCalculatedAuthenticationBytes()intgetPasswordVerifierLength()intgetSaltLength()byte[]getStoredMac()voidsetStoredMac(byte[] storedMac)
-
-
-
Constructor Detail
-
AESDecrypter
public AESDecrypter(LocalFileHeader localFileHeader, byte[] salt, byte[] passwordVerifier) throws ZipException
- Throws:
ZipException
-
-
Method Detail
-
decryptData
public int decryptData(byte[] buff, int start, int len) throws ZipException- Specified by:
decryptDatain interfaceIDecrypter- Throws:
ZipException
-
decryptData
public int decryptData(byte[] buff) throws ZipException- Specified by:
decryptDatain interfaceIDecrypter- Throws:
ZipException
-
getPasswordVerifierLength
public int getPasswordVerifierLength()
-
getSaltLength
public int getSaltLength()
-
getCalculatedAuthenticationBytes
public byte[] getCalculatedAuthenticationBytes()
-
setStoredMac
public void setStoredMac(byte[] storedMac)
-
getStoredMac
public byte[] getStoredMac()
-
-