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.
Author:
Paulo Soares (psoares@consiste.pt)
  • 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
  • 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
      key - Bytes for key
      iv - An initialization vector
  • Method Details

    • update

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

      public byte[] doFinal()
      Deprecated.