Class AESCipher

java.lang.Object
com.lowagie.text.pdf.crypto.AESCipher

@Deprecated public class AESCipher extends Object
Deprecated.
Creates an AES Cipher with CBC and padding PKCS5/7.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher
    Deprecated.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    AESCipher(boolean forEncryption, byte[] key, byte[] iv)
    Deprecated.
    Creates a new instance of AESCipher
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    Deprecated.
     
    byte[]
    update(byte[] inp, int inpOff, int inpLen)
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • bp

      private final org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher bp
      Deprecated.
  • Constructor Details

    • AESCipher

      public AESCipher(boolean forEncryption, byte[] key, byte[] iv)
      Deprecated.
      Creates a new instance of AESCipher
      Parameters:
      forEncryption - If it is for encryption
      iv - An initialization vector
      key - Bytes for key
  • Method Details

    • update

      public byte[] update(byte[] inp, int inpOff, int inpLen)
      Deprecated.
    • doFinal

      public byte[] doFinal()
      Deprecated.