public class AESDecrypter extends Object implements IDecrypter
Constructor and Description |
---|
AESDecrypter(LocalFileHeader localFileHeader,
byte[] salt,
byte[] passwordVerifier) |
Modifier and Type | Method and 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) |
public AESDecrypter(LocalFileHeader localFileHeader, byte[] salt, byte[] passwordVerifier) throws ZipException
ZipException
public int decryptData(byte[] buff, int start, int len) throws ZipException
decryptData
in interface IDecrypter
ZipException
public int decryptData(byte[] buff) throws ZipException
decryptData
in interface IDecrypter
ZipException
public int getPasswordVerifierLength()
public int getSaltLength()
public byte[] getCalculatedAuthenticationBytes()
public void setStoredMac(byte[] storedMac)
public byte[] getStoredMac()
Copyright © 2013. All rights reserved.