Java.Security.AlgorithmParameterGenerator.GetInstance Method
Returns a new instance of AlgorithmParameterGenerator from the specified provider for the specified algorithm.

Syntax

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

Parameters

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

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Security.NoSuchAlgorithmExceptionif the specified algorithm is not available.
Java.Security.NoSuchProviderExceptionif the specified provider is not available.
Java.Lang.IllegalArgumentExceptionif provider == null || provider.isEmpty()
Java.Lang.NullPointerExceptionif algorithm is null.

Remarks

Returns a new instance of AlgorithmParameterGenerator from the specified provider for the specified algorithm.

[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