net.lingala.zip4j.crypto
Class AESDecrypter

java.lang.Object
  extended by net.lingala.zip4j.crypto.AESDecrypter
All Implemented Interfaces:
IDecrypter

public class AESDecrypter
extends Object
implements IDecrypter


Constructor Summary
AESDecrypter(LocalFileHeader localFileHeader, byte[] salt, byte[] passwordVerifier)
           
 
Method Summary
 int decryptData(byte[] buff)
           
 int decryptData(byte[] buff, int start, int len)
           
 byte[] getCalculatedAuthenticationBytes()
           
 int getPasswordVerifierLength()
           
 int getSaltLength()
           
 byte[] getStoredMac()
           
 void setStoredMac(byte[] storedMac)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 interface IDecrypter
Throws:
ZipException

decryptData

public int decryptData(byte[] buff)
                throws ZipException
Specified by:
decryptData in interface IDecrypter
Throws:
ZipException

getPasswordVerifierLength

public int getPasswordVerifierLength()

getSaltLength

public int getSaltLength()

getCalculatedAuthenticationBytes

public byte[] getCalculatedAuthenticationBytes()

setStoredMac

public void setStoredMac(byte[] storedMac)

getStoredMac

public byte[] getStoredMac()


Copyright © 2012. All Rights Reserved.