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

Syntax

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

Parameters

algorithm
the name of the algorithm.
provider
the name of the provider.

Returns

Documentation for this section has not yet been entered.

Exceptions

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

Remarks

Returns a new instance of KeyFactory that utilizes the specified algorithm from the specified provider.

[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