Java.Security.KeyPairGenerator.GetInstance Method
Returns a new instance of KeyPairGenerator that utilizes the specified algorithm.

Syntax

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

Parameters

algorithm
the name of the algorithm to use

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

Remarks

Returns a new instance of KeyPairGenerator that utilizes 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