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

Syntax

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

Parameters

algorithm
the name of the requested exemption mechanism.
provider
the name of the provider that is providing the algorithm.

Returns

Documentation for this section has not yet been entered.

Exceptions

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

Remarks

Returns a new ExemptionMechansm instance that provides the specified exemption mechanism algorithm from the specified provider.

[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