Javax.Net.Ssl.KeyManagerFactory.GetInstance Method
Creates a new KeyManagerFactory instance for the specified key management algorithm from the specified provider.

Syntax

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

Parameters

algorithm
the name of the requested key management algorithm name.
provider
the name of the provider that provides the requested algorithm.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Security.NoSuchAlgorithmExceptionif the specified provider cannot provide the requested algorithm.
Java.Security.NoSuchProviderExceptionif the specified provider does not exist.
Java.Lang.NullPointerExceptionif algorithm is null (instead of NoSuchAlgorithmException as in 1.4 release)

Remarks

Creates a new KeyManagerFactory instance for the specified key management algorithm from the specified provider.

[Android Documentation]

Requirements

Namespace: Javax.Net.Ssl
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1