Package org.bouncycastle.util
Interface Store<T>
- Type Parameters:
T
- the object type stored.
- All Known Subinterfaces:
PKIXCertStore<T>
,PKIXCRLStore<T>
- All Known Implementing Classes:
CollectionStore
,X509Store
public interface Store<T>
A generic interface describing a simple store of objects.
-
Method Summary
Modifier and TypeMethodDescriptiongetMatches
(Selector<T> selector) Return a possibly empty collection of objects that match the criteria implemented in the passed in Selector.
-
Method Details
-
getMatches
Return a possibly empty collection of objects that match the criteria implemented in the passed in Selector.- Parameters:
selector
- the selector defining the match criteria.- Returns:
- a collection of matching objects, empty if none available.
- Throws:
StoreException
- if there is a failure during matching.
-