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/security/Provider;)Ljava/security/cert/CertStore;", "")]
public static CertStore GetInstance (string type, ICertStoreParameters params, Java.Security.Provider 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.InvalidAlgorithmParameterExceptionif the specified parameters cannot be used to initialize this certificate store instance.
Java.Lang.IllegalArgumentExceptionif provider == null
Java.Lang.NullPointerExceptionif type == null

Remarks

Creates a new CertStore instance from the specified provider with the specified type and initialized with the specified parameters. 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