Skip to content

Most visited

Recently visited

navigation
Added in API level 1

CollectionCertStoreParameters

public class CollectionCertStoreParameters
extends Object implements CertStoreParameters

java.lang.Object
   ↳ java.security.cert.CollectionCertStoreParameters


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.

Inherited methods

From class java.lang.Object
From interface java.security.cert.CertStoreParameters

Public constructors

CollectionCertStoreParameters

Added in API level 1
CollectionCertStoreParameters ()

Creates a new CollectionCertStoreParameters without a collection.

The default collection is an empty and unmodifiable Collection.

CollectionCertStoreParameters

Added in API level 1
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 Collection: the collection where the Certificates and CRLs will be retrieved from.
Throws
NullPointerException if collection is null.

Public methods

clone

Added in API level 1
Object clone ()

Clones this CollectionCertStoreParameters instance, but not the underlying collection.

Returns
Object the cloned instance.

getCollection

Added in API level 1
Collection<?> getCollection ()

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

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

toString

Added in API level 1
String toString ()

Returns the string representation of this instance.

Returns
String the string representation of this instance.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.