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/security/Provider;)Ljava/security/cert/CertificateFactory;", "")]
public static CertificateFactory GetInstance (string type, Java.Security.Provider 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 at the specified provider.
Java.Lang.IllegalArgumentExceptionif the specified provider is null.
Java.Lang.NullPointerExceptionif type == null
Java.Lang.IllegalArgumentExceptionif provider == null

Remarks

Creates a new CertificateFactory instance from the specified provider that provides the requested certificate type. The provider supplied does not have to be registered.

[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