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 int
decryptData(byte[] buff)
int
decryptData(byte[] buff, int start, int len)
byte[]
getCalculatedAuthenticationBytes()
int
getPasswordVerifierLength()
int
getSaltLength()
byte[]
getStoredMac()
void
setStoredMac(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:
decryptData
in interfaceIDecrypter
- Throws:
ZipException
-
decryptData
public int decryptData(byte[] buff) throws ZipException
- Specified by:
decryptData
in 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()
-
-