Javax.Crypto.MacSpi.EngineInit Method
Initializes this MacSpi instance with the specified key and algorithm parameters.

Syntax

[Android.Runtime.Register("engineInit", "(Ljava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;)V", "GetEngineInit_Ljava_security_Key_Ljava_security_spec_AlgorithmParameterSpec_Handler")]
protected abstract void EngineInit (Java.Security.IKey key, Java.Security.Spec.IAlgorithmParameterSpec params)

Parameters

key
the key to initialize this algorithm.
params
the parameters for this algorithm.

Exceptions

TypeReason
Java.Security.InvalidKeyExceptionif the specified key cannot be used to initialize this algorithm, or it is null.
Java.Security.InvalidAlgorithmParameterExceptionif the specified parameters cannot be used to initialize this algorithm.

Remarks

Initializes this MacSpi instance with the specified key and algorithm 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