Package com.itextpdf.kernel.crypto
Class AesDecryptor
java.lang.Object
com.itextpdf.kernel.crypto.AesDecryptor
- All Implemented Interfaces:
IDecryptor
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAesDecryptor
(byte[] key, int off, int len) Creates a new instance ofAesDecryptor
-
Method Summary
-
Field Details
-
cipher
-
key
private byte[] key -
initiated
private boolean initiated -
iv
private byte[] iv -
ivptr
private int ivptr
-
-
Constructor Details
-
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 Details
-
update
public byte[] update(byte[] b, int off, int len) - Specified by:
update
in interfaceIDecryptor
-
finish
public byte[] finish()- Specified by:
finish
in interfaceIDecryptor
-