- input
- bytes of AAD to use with the cipher
- inputOffset
- offset within bytes of additional data to add to cipher
- inputLen
- length of bytes of additional data to add to cipher
Type Reason Java.Lang.IllegalStateException if this cipher instance is not initialized for encryption or decryption. Java.Lang.IllegalArgumentException if input is null, or if inputOffset and inputLen do not specify a valid chunk in the input buffer. Java.Lang.UnsupportedOperationException if the cipher does not support AEAD
Continues a multi-part transformation (encryption or decryption) with Authenticated Additional Data (AAD). AAD may only be added after the Cipher is initialized and before any data is passed to the instance.
This is only usable with cipher modes that support Authenticated Encryption with Additional Data (AEAD) such as Galois/Counter Mode (GCM).