org.bouncycastle.x509

Class X509CollectionStoreParameters

Implemented Interfaces:
X509StoreParameters

public class X509CollectionStoreParameters
extends java.lang.Object
implements X509StoreParameters

This class contains a collection for collection based X509Stores.
See Also:
X509Store

Constructor Summary

X509CollectionStoreParameters(Collection collection)
Constructor.

Method Summary

Object
clone()
Returns a shallow clone.
Collection
getCollection()
Returns a copy of the Collection.
String
toString()
Returns a formatted string describing the parameters.

Constructor Details

X509CollectionStoreParameters

public X509CollectionStoreParameters(Collection collection)
Constructor.

The collection is copied.

Parameters:
collection - The collection containing X.509 object types.

Method Details

clone

public Object clone()
Returns a shallow clone. The returned contents are not copied, so adding or removing objects will effect this.
Returns:
a shallow clone.

getCollection

public Collection getCollection()
Returns a copy of the Collection.
Returns:
The Collection. Is never null.

toString

public String toString()
Returns a formatted string describing the parameters.
Returns:
a formatted string describing the parameters