org.bouncycastle.x509

Class X509CollectionStoreParameters

public class X509CollectionStoreParameters extends Object implements X509StoreParameters

This class contains a collection for collection based X509Stores.

See Also:

Constructor Summary
X509CollectionStoreParameters(Collection collection)
Constructor.
Method Summary
Objectclone()
Returns a shallow clone.
CollectiongetCollection()
Returns a copy of the Collection.
StringtoString()
Returns a formatted string describing the parameters.

Constructor Detail

X509CollectionStoreParameters

public X509CollectionStoreParameters(Collection collection)
Constructor.

The collection is copied.

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

Throws: NullPointerException if collection is null.

Method Detail

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