Share via


CollectionCertStoreParameters Constructors

Definition

Overloads

CollectionCertStoreParameters()

Creates an instance of CollectionCertStoreParameters with the default parameter values (an empty and immutable Collection).

CollectionCertStoreParameters(ICollection<Object>)

Creates an instance of CollectionCertStoreParameters which will allow certificates and CRLs to be retrieved from the specified Collection.

CollectionCertStoreParameters(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

CollectionCertStoreParameters()

Creates an instance of CollectionCertStoreParameters with the default parameter values (an empty and immutable Collection).

[Android.Runtime.Register(".ctor", "()V", "")]
public CollectionCertStoreParameters ();
Attributes

Remarks

Creates an instance of CollectionCertStoreParameters with the default parameter values (an empty and immutable Collection).

Java documentation for java.security.cert.CollectionCertStoreParameters.CollectionCertStoreParameters().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

CollectionCertStoreParameters(ICollection<Object>)

Creates an instance of CollectionCertStoreParameters which will allow certificates and CRLs to be retrieved from the specified Collection.

[Android.Runtime.Register(".ctor", "(Ljava/util/Collection;)V", "")]
public CollectionCertStoreParameters (System.Collections.Generic.ICollection<object>? collection);
[<Android.Runtime.Register(".ctor", "(Ljava/util/Collection;)V", "")>]
new Java.Security.Cert.CollectionCertStoreParameters : System.Collections.Generic.ICollection<obj> -> Java.Security.Cert.CollectionCertStoreParameters

Parameters

collection
ICollection<Object>

a Collection of Certificates and CRLs

Attributes

Remarks

Creates an instance of CollectionCertStoreParameters which will allow certificates and CRLs to be retrieved from the specified Collection. If the specified Collection contains an object that is not a Certificate or CRL, that object will be ignored by the Collection CertStore.

The Collection is <b>not</b> copied. Instead, a reference is used. This allows the caller to subsequently add or remove Certificates or CRLs from the Collection, thus changing the set of Certificates or CRLs available to the Collection CertStore. The Collection CertStore will not modify the contents of the Collection.

If the Collection will be modified by one thread while another thread is calling a method of a Collection CertStore that has been initialized with this Collection, the Collection must have fail-fast iterators.

Java documentation for java.security.cert.CollectionCertStoreParameters.CollectionCertStoreParameters(java.util.Collection<?>).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

CollectionCertStoreParameters(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected CollectionCertStoreParameters (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Security.Cert.CollectionCertStoreParameters : nativeint * Android.Runtime.JniHandleOwnership -> Java.Security.Cert.CollectionCertStoreParameters

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to