Package org.apache.iceberg.encryption
Class Ciphers.AesGcmEncryptor
- java.lang.Object
-
- org.apache.iceberg.encryption.Ciphers.AesGcmEncryptor
-
- Enclosing class:
- Ciphers
public static class Ciphers.AesGcmEncryptor extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AesGcmEncryptor(byte[] keyBytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
encrypt(byte[] plaintext, byte[] aad)
byte[]
encrypt(byte[] plaintext, int plaintextOffset, int plaintextLength, byte[] aad)
int
encrypt(byte[] plaintext, int plaintextOffset, int plaintextLength, byte[] ciphertextBuffer, int ciphertextOffset, byte[] aad)
-
-
-
Method Detail
-
encrypt
public byte[] encrypt(byte[] plaintext, byte[] aad)
-
encrypt
public byte[] encrypt(byte[] plaintext, int plaintextOffset, int plaintextLength, byte[] aad)
-
encrypt
public int encrypt(byte[] plaintext, int plaintextOffset, int plaintextLength, byte[] ciphertextBuffer, int ciphertextOffset, byte[] aad)
-
-