Package com.lowagie.text.pdf.crypto
Class AESCipher
java.lang.Object
com.lowagie.text.pdf.crypto.AESCipher
Deprecated.
Creates an AES Cipher with CBC and padding PKCS5/7.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipherDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionAESCipher(boolean forEncryption, byte[] key, byte[] iv) Deprecated.Creates a new instance of AESCipher -
Method Summary
-
Field Details
-
bp
private final org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher bpDeprecated.
-
-
Constructor Details
-
AESCipher
public AESCipher(boolean forEncryption, byte[] key, byte[] iv) Deprecated.Creates a new instance of AESCipher- Parameters:
forEncryption- If it is for encryptioniv- An initialization vectorkey- Bytes for key
-
-
Method Details
-
update
public byte[] update(byte[] inp, int inpOff, int inpLen) Deprecated. -
doFinal
public byte[] doFinal()Deprecated.
-