Package net.lingala.zip4j.crypto
Class StandardDecrypter
- java.lang.Object
-
- net.lingala.zip4j.crypto.StandardDecrypter
-
- All Implemented Interfaces:
IDecrypter
public class StandardDecrypter extends Object implements IDecrypter
-
-
Constructor Summary
Constructors Constructor Description StandardDecrypter(FileHeader fileHeader, byte[] headerBytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdecryptData(byte[] buff)intdecryptData(byte[] buff, int start, int len)voidinit(byte[] headerBytes)
-
-
-
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:
decryptDatain interfaceIDecrypter- Throws:
ZipException
-
decryptData
public int decryptData(byte[] buff, int start, int len) throws ZipException- Specified by:
decryptDatain interfaceIDecrypter- Throws:
ZipException
-
init
public void init(byte[] headerBytes) throws ZipException- Throws:
ZipException
-
-