Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
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 Certificate s and CRL s 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 Certificate s and CRL s 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
  • the cloned instance.

public Collection <?> getCollection ()

Added in API level 1

Returns the collection where the Certificate s and CRL s are retrieved from.

Returns
  • the collection where the Certificate s and CRL s will be retrieved from.

public String toString ()

Added in API level 1

Returns the string representation of this instance.

Returns
  • the string representation of this instance.