Java.Security.Cert.CertStore.GetInstance Method
Creates a new CertStore instance from the specified provider with the specified type and initialized with the specified parameters.

Syntax

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

Parameters

type
the certificate store type.
params
the certificate store parameters (may be null).
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 requested certificate store type.
Java.Security.NoSuchProviderExceptionif no provider with the specified name can be found.
Java.Security.InvalidAlgorithmParameterExceptionif the specified parameters cannot be used to initialize this certificate store instance.
Java.Lang.IllegalArgumentExceptionif provider == null || provider.isEmpty()
Java.Lang.NullPointerExceptionif type is null.

Remarks

Creates a new CertStore instance from the specified provider with the specified type and initialized with the specified parameters.

[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