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 basedX509Store
s.- See Also:
X509Store
-
-
Constructor Summary
Constructors Constructor Description X509CollectionStoreParameters(Collection collection)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
Returns a shallow clone.Collection
getCollection()
Returns a copy of theCollection
.String
toString()
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
- ifcollection
isnull
.
-
-
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
.
-
-