Javax.Crypto.Mac.DoFinal Method
Computes the digest of this MAC based on the data previously specified on Mac.Update(sbyte) calls and on the final bytes specified by input (or based on those bytes only).

Syntax

[Android.Runtime.Register("doFinal", "([B)[B", "")]
public byte[] DoFinal (byte[] input)

Parameters

input
the final bytes.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalStateExceptionif this MAC is not initialized.

Remarks

Computes the digest of this MAC based on the data previously specified on Mac.Update(sbyte) calls and on the final bytes specified by input (or based on those bytes only).

This Mac instance is reverted to its initial state and can be used to start the next MAC computation with the same parameters or initialized with different parameters.

[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