Java.Security.Cert.CertificateFactory.GetInstance Method
Creates a new CertificateFactory instance from the specified provider that provides the requested certificate type.

Syntax

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

Parameters

type
the certificate type.
provider
the name of the provider providing certificates of the specified type.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Security.Cert.CertificateExceptionif the specified certificate type is not available by the specified provider.
Java.Security.NoSuchProviderExceptionif no provider with the specified name can be found.
Java.Lang.IllegalArgumentExceptionif provider == null || provider.isEmpty()
Java.Lang.NullPointerExceptionit type is null.

Remarks

Creates a new CertificateFactory instance from the specified provider that provides the requested certificate type.

[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