Package com.itextpdf.text.pdf.crypto
Class AESCipher
- java.lang.Object
-
- com.itextpdf.text.pdf.crypto.AESCipher
-
public class AESCipher extends java.lang.Object
Creates an AES Cipher with CBC and padding PKCS5/7.
-
-
Field Summary
Fields Modifier and Type Field Description private org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher
bp
-
Constructor Summary
Constructors Constructor Description AESCipher(boolean forEncryption, byte[] key, byte[] iv)
Creates a new instance of AESCipher
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
doFinal()
byte[]
update(byte[] inp, int inpOff, int inpLen)
-