Class Ciphers.AesGcmEncryptor

java.lang.Object
org.apache.iceberg.encryption.Ciphers.AesGcmEncryptor
Enclosing class:
Ciphers

public static class Ciphers.AesGcmEncryptor extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    AesGcmEncryptor(byte[] keyBytes)
     
  • Method Summary

    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AesGcmEncryptor

      public AesGcmEncryptor(byte[] keyBytes)
  • Method Details

    • 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)