Package org.apache.parquet.crypto
Class AesCtrDecryptor
- java.lang.Object
-
- org.apache.parquet.crypto.AesCipher
-
- org.apache.parquet.crypto.AesCtrDecryptor
-
- All Implemented Interfaces:
BlockCipher.Decryptor
public class AesCtrDecryptor extends AesCipher implements BlockCipher.Decryptor
-
-
Field Summary
-
Fields inherited from class org.apache.parquet.crypto.AesCipher
aesKey, CHUNK_LENGTH, cipher, CTR_IV_LENGTH, GCM_TAG_LENGTH, GCM_TAG_LENGTH_BITS, localNonce, NONCE_LENGTH, randomGenerator, SIZE_LENGTH
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
decrypt(byte[] lengthAndCiphertext, byte[] AAD)
byte[]
decrypt(byte[] ciphertext, int cipherTextOffset, int cipherTextLength, byte[] AAD)
byte[]
decrypt(InputStream from, byte[] AAD)
-
Methods inherited from class org.apache.parquet.crypto.AesCipher
createFooterAAD, createModuleAAD, quickUpdatePageAAD
-
-
-
-
Method Detail
-
decrypt
public byte[] decrypt(byte[] lengthAndCiphertext, byte[] AAD)
- Specified by:
decrypt
in interfaceBlockCipher.Decryptor
-
decrypt
public byte[] decrypt(byte[] ciphertext, int cipherTextOffset, int cipherTextLength, byte[] AAD)
-
decrypt
public byte[] decrypt(InputStream from, byte[] AAD) throws IOException
- Specified by:
decrypt
in interfaceBlockCipher.Decryptor
- Throws:
IOException
-
-