Android APIs
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 ()

Added in API level 1

Creates a new CollectionCertStoreParameters without a collection.

The default collection is an empty and unmodifiable Collection.

public CollectionCertStoreParameters (Collection<?> collection)

Added in API level 1

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 ()

Added in API level 1

Clones this CollectionCertStoreParameters instance, but not the underlying collection.

Returns
Object the cloned instance.

public Collection<?> getCollection ()

Added in API level 1

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

Returns
Collection<?> the collection where the Certificates and CRLs will be retrieved from.

public String toString ()

Added in API level 1

Returns the string representation of this instance.

Returns
String the string representation of this instance.