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

Syntax

[Android.Runtime.Register("init", "(Ljava/security/Key;Ljava/security/AlgorithmParameters;)V", "")]
public void Init (Java.Security.IKey key, Java.Security.AlgorithmParameters param)

Parameters

key
the key to initialize this instance with.
param
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