Top Description Methods
org.bouncycastle.util

public Interface Store<T>

Known Direct Subinterfaces
org.bouncycastle.jcajce.PKIXCertStore, org.bouncycastle.jcajce.PKIXCRLStore
Known Direct Implementers
org.bouncycastle.x509.X509Store, org.bouncycastle.util.CollectionStore
Type Parameters
<T>
the object type stored.
Imports
java.util.Collection

A generic interface describing a simple store of objects.

Method Summary

Modifier and TypeMethod and Description
public Collection<T>

Returns:

a collection of matching objects, empty if none available.
getMatches
(Selector<T>
the selector defining the match criteria.
selector
)

Return a possibly empty collection of objects that match the criteria implemented in the passed in Selector.

Method Detail

getMatchesback to summary
public Collection<T> getMatches(Selector<T> selector) throws StoreException

Return a possibly empty collection of objects that match the criteria implemented in the passed in Selector.

Parameters
selector:Selector<T>

the selector defining the match criteria.

Returns:Collection<T>

a collection of matching objects, empty if none available.

Exceptions
StoreException:
if there is a failure during matching.