Package org.apache.iceberg.encryption
Class Ciphers.AesGcmDecryptor
java.lang.Object
org.apache.iceberg.encryption.Ciphers.AesGcmDecryptor
- Enclosing class:
- Ciphers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
decrypt
(byte[] ciphertext, byte[] aad) byte[]
decrypt
(byte[] ciphertext, int ciphertextOffset, int ciphertextLength, byte[] aad) int
decrypt
(byte[] ciphertext, int ciphertextOffset, int ciphertextLength, byte[] plaintextBuffer, int plaintextOffset, byte[] aad)
-
Constructor Details
-
AesGcmDecryptor
public AesGcmDecryptor(byte[] keyBytes)
-
-
Method Details
-
decrypt
public byte[] decrypt(byte[] ciphertext, byte[] aad) -
decrypt
public byte[] decrypt(byte[] ciphertext, int ciphertextOffset, int ciphertextLength, byte[] aad) -
decrypt
public int decrypt(byte[] ciphertext, int ciphertextOffset, int ciphertextLength, byte[] plaintextBuffer, int plaintextOffset, byte[] aad)
-