Javax.Crypto.ExemptionMechanismSpi.EngineInit Method
Initializes this ExemptionMechanism instance with the specified key.

Syntax

[Android.Runtime.Register("engineInit", "(Ljava/security/Key;)V", "GetEngineInit_Ljava_security_Key_Handler")]
protected abstract void EngineInit (Java.Security.IKey key)

Parameters

key
the key to initialize this instance with.

Exceptions

TypeReason
Java.Security.InvalidKeyExceptionif the key cannot be used to initialize this mechanism.
Javax.Crypto.ExemptionMechanismExceptionif error(s) occur during initialization.

Remarks

Initializes this ExemptionMechanism instance with the specified key.

[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