Package com.itextpdf.kernel.crypto
Class AesDecryptor
- java.lang.Object
-
- com.itextpdf.kernel.crypto.AesDecryptor
-
- All Implemented Interfaces:
IDecryptor
public class AesDecryptor extends java.lang.Object implements IDecryptor
-
-
Constructor Summary
Constructors Constructor Description AesDecryptor(byte[] key, int off, int len)
Creates a new instance ofAesDecryptor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
finish()
byte[]
update(byte[] b, int off, int len)
-
-
-
Field Detail
-
cipher
private AESCipher cipher
-
key
private byte[] key
-
initiated
private boolean initiated
-
iv
private byte[] iv
-
ivptr
private int ivptr
-
-
Constructor Detail
-
AesDecryptor
public AesDecryptor(byte[] key, int off, int len)
Creates a new instance ofAesDecryptor
- Parameters:
key
- the byte array containing the key for decryptionoff
- offset of the key in the byte arraylen
- the length of the key in the byte array
-
-
Method Detail
-
update
public byte[] update(byte[] b, int off, int len)
- Specified by:
update
in interfaceIDecryptor
-
finish
public byte[] finish()
- Specified by:
finish
in interfaceIDecryptor
-
-