Javax.Crypto.ExemptionMechanism.GetInstance Method
Returns a new ExemptionMechanism instance that provides the specified exemption mechanism algorithm.

Syntax

[Android.Runtime.Register("getInstance", "(Ljava/lang/String;)Ljavax/crypto/ExemptionMechanism;", "")]
public static ExemptionMechanism GetInstance (string algorithm)

Parameters

algorithm
the name of the requested exemption mechanism.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Security.NoSuchAlgorithmExceptionif the specified algorithm is not available by any provider.
Java.Lang.NullPointerExceptionif the algorithm parameter is null.

Remarks

Returns a new ExemptionMechanism instance that provides the specified exemption mechanism algorithm.

[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