Java.Security.Cert.CertPathBuilder.GetInstance Method
Creates a new CertPathBuilder instance from the specified provider providing the specified algorithm.

Syntax

[Android.Runtime.Register("getInstance", "(Ljava/lang/String;Ljava/lang/String;)Ljava/security/cert/CertPathBuilder;", "")]
public static CertPathBuilder 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 specified provider cannot provide the algorithm.
Java.Security.NoSuchProviderExceptionif no provider with the specified name can be found.
Java.Lang.NullPointerExceptionif algorithm is null.
Java.Lang.IllegalArgumentExceptionif provider == null || provider.isEmpty()

Remarks

Creates a new CertPathBuilder instance from the specified provider providing the specified algorithm.

[Android Documentation]

Requirements

Namespace: Java.Security.Cert
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1