Cipher.UpdateAAD Cipher.UpdateAAD Method

Definition

Overloads

UpdateAAD(ByteBuffer) UpdateAAD(ByteBuffer)

Continues a multi-part transformation (encryption or decryption) with Authenticated Additional Data (AAD).

UpdateAAD(Byte[]) UpdateAAD(Byte[])

Continues a multi-part transformation (encryption or decryption) with Authenticated Additional Data (AAD).

UpdateAAD(Byte[], Int32, Int32) UpdateAAD(Byte[], Int32, Int32)

Continues a multi-part transformation (encryption or decryption) with Authenticated Additional Data (AAD).

UpdateAAD(ByteBuffer) UpdateAAD(ByteBuffer)

Continues a multi-part transformation (encryption or decryption) with Authenticated Additional Data (AAD).

[Android.Runtime.Register("updateAAD", "(Ljava/nio/ByteBuffer;)V", "", ApiSince=19)]
public void UpdateAAD (Java.Nio.ByteBuffer src);
member this.UpdateAAD : Java.Nio.ByteBuffer -> unit

Parameters

Exceptions

if this cipher instance is not initialized for encryption or decryption.

if the cipher does not support AEAD

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

UpdateAAD(Byte[]) UpdateAAD(Byte[])

Continues a multi-part transformation (encryption or decryption) with Authenticated Additional Data (AAD).

[Android.Runtime.Register("updateAAD", "([B)V", "", ApiSince=19)]
public void UpdateAAD (byte[] src);
member this.UpdateAAD : byte[] -> unit

Parameters

src
Byte[]

Exceptions

if this cipher instance is not initialized for encryption or decryption.

if the cipher does not support AEAD

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

UpdateAAD(Byte[], Int32, Int32) UpdateAAD(Byte[], Int32, Int32)

Continues a multi-part transformation (encryption or decryption) with Authenticated Additional Data (AAD).

[Android.Runtime.Register("updateAAD", "([BII)V", "", ApiSince=19)]
public void UpdateAAD (byte[] src, int offset, int len);
member this.UpdateAAD : byte[] * int * int -> unit

Parameters

src
Byte[]
offset
Int32 Int32
len
Int32 Int32

Exceptions

if this cipher instance is not initialized for encryption or decryption.

if input is null, or if inputOffset and inputLen do not specify a valid chunk in the input buffer.

if the cipher does not support AEAD

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to