net.lingala.zip4j.crypto
Class StandardDecrypter

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

public class StandardDecrypter
extends Object
implements IDecrypter


Constructor Summary
StandardDecrypter(FileHeader fileHeader, byte[] headerBytes)
           
 
Method Summary
 int decryptData(byte[] buff)
           
 int decryptData(byte[] buff, int start, int len)
           
 void init(byte[] headerBytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardDecrypter

public StandardDecrypter(FileHeader fileHeader,
                         byte[] headerBytes)
                  throws ZipException
Throws:
ZipException
Method Detail

decryptData

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

decryptData

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

init

public void init(byte[] headerBytes)
          throws ZipException
Throws:
ZipException


Copyright © 2012. All Rights Reserved.