Javax.Crypto.CipherSpi.EngineUpdateAAD Method
Continues a multi-part transformation (encryption or decryption).

Syntax

[Android.Runtime.Register("engineUpdateAAD", "(Ljava/nio/ByteBuffer;)V", "GetEngineUpdateAAD_Ljava_nio_ByteBuffer_Handler")]
protected virtual void EngineUpdateAAD (Java.Nio.ByteBuffer p0)

Parameters

input
the input buffer to transform.

Remarks

Continues a multi-part transformation (encryption or decryption). The input.remaining() bytes starting at input.position() are used for the Additional Authenticated 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).

[Android Documentation]

Requirements

Namespace: Javax.Crypto
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1