Class Ciphers.AesGcmDecryptor

  • Enclosing class:
    Ciphers

    public static class Ciphers.AesGcmDecryptor
    extends java.lang.Object
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] 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)  
      • Methods inherited from class java.lang.Object

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

      • AesGcmDecryptor

        public AesGcmDecryptor​(byte[] keyBytes)
    • Method Detail

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