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

Syntax

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

Parameters

key
the key to initialize this instance with.
params
the parameters for this exemption mechanism algorithm.

Exceptions

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

Remarks

Initializes this ExemptionMechanism 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