Android Guides | Samples

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 (IKey key)

Parameters

key
the key to initialize this instance with.

Exceptions

TypeReason
InvalidKeyExceptionif the key cannot be used to initialize this mechanism.
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