public class AesGcmDecryptor extends AesCipher implements BlockCipher.Decryptor
aesKey, CHUNK_LENGTH, cipher, CTR_IV_LENGTH, CTR_RANDOM_IV_SAME_KEY_MAX_OPS, GCM_RANDOM_IV_SAME_KEY_MAX_OPS, GCM_TAG_LENGTH, GCM_TAG_LENGTH_BITS, localNonce, NONCE_LENGTH, randomGenerator, SIZE_LENGTH| Modifier and Type | Method and Description |
|---|---|
byte[] |
decrypt(byte[] lengthAndCiphertext,
byte[] AAD) |
byte[] |
decrypt(byte[] ciphertext,
int cipherTextOffset,
int cipherTextLength,
byte[] AAD) |
ByteBuffer |
decrypt(ByteBuffer ciphertext,
byte[] AAD) |
byte[] |
decrypt(InputStream from,
byte[] AAD) |
createFooterAAD, createModuleAAD, quickUpdatePageAADpublic byte[] decrypt(byte[] lengthAndCiphertext,
byte[] AAD)
decrypt in interface BlockCipher.Decryptorpublic byte[] decrypt(byte[] ciphertext,
int cipherTextOffset,
int cipherTextLength,
byte[] AAD)
public ByteBuffer decrypt(ByteBuffer ciphertext, byte[] AAD)
decrypt in interface BlockCipher.Decryptorpublic byte[] decrypt(InputStream from, byte[] AAD) throws IOException
decrypt in interface BlockCipher.DecryptorIOExceptionCopyright © 2023 The Apache Software Foundation. All rights reserved.