public class CollectionCertStoreParameters extends Object implements CertStoreParameters
CertStoreParameters
with a simple,
in-memory Collection
of certificates and certificate
revocation list.
Note that this class is not thread-safe, and its underlying collection may be changed at any time.
CertStore
Constructor and Description |
---|
CollectionCertStoreParameters()
Creates a new CollectionCertStoreParameters with an empty,
immutable collection.
|
CollectionCertStoreParameters(Collection collection)
Create a new CollectionCertStoreParameters with the specified
collection.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Default clone() method performs a "shallow" cloning of the instance.
|
Collection |
getCollection()
Return the underlying collection.
|
String |
toString()
Return a string representation of these parameters.
|
public CollectionCertStoreParameters()
public CollectionCertStoreParameters(Collection collection)
collection
- The collection.NullPointerException
- If collection is null.public Object clone()
Object
clone
in interface CertStoreParameters
clone
in class Object
public Collection getCollection()