Javax.Crypto.Mac.DoFinal Method
Computes the digest of this MAC based on the data previously specified in Mac.Update(sbyte) calls.

Syntax

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

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 in Mac.Update(sbyte) calls.

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