public class

CollectionCertStoreParameters

extends Object
implements CertStoreParameters
java.lang.Object
   ↳ java.security.cert.CollectionCertStoreParameters

Class Overview

The parameters to initialize a Collection type CertStore instance.

It is used to specify the Collection where the CertStore will retrieve the certificates and CRLs from.

Summary

Public Constructors
CollectionCertStoreParameters()
Creates a new CollectionCertStoreParameters without a collection.
CollectionCertStoreParameters(Collection<?> collection)
Creates a new CollectionCertStoreParameters with the specified collection.
Public Methods
Object clone()
Clones this CollectionCertStoreParameters instance, but not the underlying collection.
Collection<?> getCollection()
Returns the collection where the Certificates and CRLs are retrieved from.
String toString()
Returns the string representation of this instance.
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.security.cert.CertStoreParameters

Public Constructors

public CollectionCertStoreParameters ()

Creates a new CollectionCertStoreParameters without a collection.

The default collection is an empty and unmodifiable Collection.

public CollectionCertStoreParameters (Collection<?> collection)

Creates a new CollectionCertStoreParameters with the specified collection.

The specified collection is not copied and therefore may be modified at any time.

Parameters
collection the collection where the Certificates and CRLs will be retrieved from.
Throws
NullPointerException if collection is null.

Public Methods

public Object clone ()

Clones this CollectionCertStoreParameters instance, but not the underlying collection.

Returns
  • the cloned instance.

public Collection<?> getCollection ()

Returns the collection where the Certificates and CRLs are retrieved from.

Returns
  • the collection where the Certificates and CRLs will be retrieved from.

public String toString ()

Returns the string representation of this instance.

Returns
  • the string representation of this instance.