Mac.Update Method

Definition

Overloads

Update(ByteBuffer)

Processes <code>input.

Update(Byte[])

Processes the given array of bytes.

Update(SByte)

Processes the given byte.

Update(Byte[], Int32, Int32)

Processes the first <code>len</code> bytes in <code>input</code>, starting at <code>offset</code> inclusive.

Update(ByteBuffer)

Processes <code>input.

[Android.Runtime.Register("update", "(Ljava/nio/ByteBuffer;)V", "")]
public void Update (Java.Nio.ByteBuffer? input);
[<Android.Runtime.Register("update", "(Ljava/nio/ByteBuffer;)V", "")>]
member this.Update : Java.Nio.ByteBuffer -> unit

Parameters

input
ByteBuffer

the ByteBuffer

Attributes

Exceptions

if this MAC is not initialized.

Remarks

Java documentation for javax.crypto.Mac.update(java.nio.ByteBuffer).

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

Update(Byte[])

Processes the given array of bytes.

[Android.Runtime.Register("update", "([B)V", "")]
public void Update (byte[]? input);
[<Android.Runtime.Register("update", "([B)V", "")>]
member this.Update : byte[] -> unit

Parameters

input
Byte[]

the array of bytes to be processed.

Attributes

Exceptions

if this MAC is not initialized.

Remarks

Java documentation for javax.crypto.Mac.update(byte[]).

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

Update(SByte)

Processes the given byte.

[Android.Runtime.Register("update", "(B)V", "")]
public void Update (sbyte input);
[<Android.Runtime.Register("update", "(B)V", "")>]
member this.Update : sbyte -> unit

Parameters

input
SByte

the input byte to be processed.

Attributes

Exceptions

if this MAC is not initialized.

Remarks

Java documentation for javax.crypto.Mac.update(byte).

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

Update(Byte[], Int32, Int32)

Processes the first <code>len</code> bytes in <code>input</code>, starting at <code>offset</code> inclusive.

[Android.Runtime.Register("update", "([BII)V", "")]
public void Update (byte[]? input, int offset, int len);
[<Android.Runtime.Register("update", "([BII)V", "")>]
member this.Update : byte[] * int * int -> unit

Parameters

input
Byte[]

the input buffer.

offset
Int32

the offset in <code>input</code> where the input starts.

len
Int32

the number of bytes to process.

Attributes

Exceptions

if this MAC is not initialized.

if offset and len do not specified a valid chunk in input buffer.

Remarks

Java documentation for javax.crypto.Mac.update(byte[], int, int).

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