Class AesCtrDecryptor

java.lang.Object
org.apache.parquet.crypto.AesCipher
org.apache.parquet.crypto.AesCtrDecryptor
All Implemented Interfaces:
org.apache.parquet.format.BlockCipher.Decryptor

public class AesCtrDecryptor extends AesCipher implements org.apache.parquet.format.BlockCipher.Decryptor
  • Method Details

    • decrypt

      public byte[] decrypt(byte[] lengthAndCiphertext, byte[] AAD)
      Specified by:
      decrypt in interface org.apache.parquet.format.BlockCipher.Decryptor
    • decrypt

      public byte[] decrypt(byte[] ciphertext, int cipherTextOffset, int cipherTextLength, byte[] AAD)
    • decrypt

      public ByteBuffer decrypt(ByteBuffer ciphertext, byte[] AAD)
      Specified by:
      decrypt in interface org.apache.parquet.format.BlockCipher.Decryptor
    • decrypt

      public byte[] decrypt(InputStream from, byte[] AAD) throws IOException
      Specified by:
      decrypt in interface org.apache.parquet.format.BlockCipher.Decryptor
      Throws:
      IOException