public class CollectionCertStoreParameters extends Object implements CertStoreParameters
CertStore instance.
It is used to specify the Collection where the CertStore will
retrieve the certificates and CRLs from.
| Constructor and Description |
|---|
CollectionCertStoreParameters()
Creates a new
CollectionCertStoreParameters without a collection. |
CollectionCertStoreParameters(Collection<?> collection)
Creates a new
CollectionCertStoreParameters with the specified
collection. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public CollectionCertStoreParameters()
CollectionCertStoreParameters without a collection.
The default collection is an empty and unmodifiable Collection.
public CollectionCertStoreParameters(Collection<?> collection)
CollectionCertStoreParameters with the specified
collection.
The specified collection is not copied and therefore may be modified at any time.
collection - the collection where the Certificates and CRLs
will be retrieved from.NullPointerException - if collection is null.public Object clone()
CollectionCertStoreParameters instance, but not the
underlying collection.clone in interface CertStoreParametersclone in class Objectpublic Collection<?> getCollection()
Certificates and CRLs
are retrieved from.Certificates and CRLs
will be retrieved from.