Java.Security.Cert.CertPathValidator.GetInstance Method
Returns a new certification path validator for the specified algorithm from the specified provider.

Syntax

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

Parameters

algorithm
the algorithm name.
provider
the security provider name.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Security.NoSuchAlgorithmExceptionif the specified security provider cannot provide the requested 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

Returns a new certification path validator for the specified algorithm from the specified provider.

[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