Javax.Net.Ssl.TrustManagerFactory.GetInstance Method
Creates a new TrustManagerFactory instance for the specified trust management algorithm.

Syntax

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

Parameters

algorithm
the name of the requested trust management algorithm.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Security.NoSuchAlgorithmExceptionif no installed provider can provide the requested algorithm.
Java.Lang.NullPointerExceptionif algorithm is null (instead of NoSuchAlgorithmException as in 1.4 release)

Remarks

Creates a new TrustManagerFactory instance for the specified trust management algorithm.

[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