summaryrefslogtreecommitdiff
path: root/bcprov/src/main/java/org/bouncycastle/jcajce/PKIXCRLStore.java
diff options
context:
space:
mode:
Diffstat (limited to 'bcprov/src/main/java/org/bouncycastle/jcajce/PKIXCRLStore.java')
-rw-r--r--bcprov/src/main/java/org/bouncycastle/jcajce/PKIXCRLStore.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/bcprov/src/main/java/org/bouncycastle/jcajce/PKIXCRLStore.java b/bcprov/src/main/java/org/bouncycastle/jcajce/PKIXCRLStore.java
index b3447207..1592055f 100644
--- a/bcprov/src/main/java/org/bouncycastle/jcajce/PKIXCRLStore.java
+++ b/bcprov/src/main/java/org/bouncycastle/jcajce/PKIXCRLStore.java
@@ -7,9 +7,21 @@ import org.bouncycastle.util.Selector;
import org.bouncycastle.util.Store;
import org.bouncycastle.util.StoreException;
+/**
+ * Generic interface for a PKIX based CRL store.
+ *
+ * @param <T> the CRL type.
+ */
public interface PKIXCRLStore<T extends CRL>
extends Store<T>
{
+ /**
+ * Return the matches associated with the passed in selector.
+ *
+ * @param selector the selector defining the match criteria.
+ * @return a collection of matches with the selector, an empty selector if there are none.
+ * @throws StoreException in the event of an issue doing a match.
+ */
Collection<T> getMatches(Selector<T> selector)
throws StoreException;
}