Package org.bouncycastle.x509
Class X509CollectionStoreParameters
- java.lang.Object
-
- org.bouncycastle.x509.X509CollectionStoreParameters
-
- All Implemented Interfaces:
X509StoreParameters
public class X509CollectionStoreParameters extends Object implements X509StoreParameters
This class contains a collection for collection basedX509Stores.- See Also:
org.bouncycastle.x509.X509Store
-
-
Constructor Summary
Constructors Constructor Description X509CollectionStoreParameters(Collection collection)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()Returns a shallow clone.CollectiongetCollection()Returns a copy of theCollection.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- ifcollectionisnull.
-
-
Method Detail
-
clone
public Object clone()
Returns a shallow clone. The returned contents are not copied, so adding or removing objects will effect this.
-
getCollection
public Collection getCollection()
Returns a copy of theCollection.- Returns:
- The
Collection. Is nevernull.
-
-