Java.Security.Signature.GetInstance Method
Returns a new instance of Signature that utilizes the specified algorithm from the specified provider.

Syntax

[Android.Runtime.Register("getInstance", "(Ljava/lang/String;Ljava/security/Provider;)Ljava/security/Signature;", "")]
public static Signature GetInstance (string algorithm, Provider provider)

Parameters

algorithm
the name of the algorithm to use.
provider
the security provider.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Security.NoSuchAlgorithmExceptionif the specified algorithm is not available.
Java.Lang.NullPointerExceptionif algorithm is null.
Java.Lang.IllegalArgumentExceptionif provider == null

Remarks

Returns a new instance of Signature that utilizes the specified algorithm from the specified provider. The provider supplied does not have to be registered.

[Android Documentation]

Requirements

Namespace: Java.Security
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1