org.spongycastle.jcajce.PKIXCRLStore Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of prov Show documentation
Show all versions of prov Show documentation
Spongy Castle is a package-rename (org.bouncycastle.* to org.spongycastle.*) of Bouncy Castle
intended for the Android platform. Android unfortunately ships with a stripped-down version of
Bouncy Castle, which prevents easy upgrades - Spongy Castle overcomes this and provides a full,
up-to-date version of the Bouncy Castle cryptographic libs.
The newest version!
package org.spongycastle.jcajce;
import java.security.cert.CRL;
import java.util.Collection;
import org.spongycastle.util.Selector;
import org.spongycastle.util.Store;
import org.spongycastle.util.StoreException;
/**
* Generic interface for a PKIX based CRL store.
*
* @param the CRL type.
*/
public interface PKIXCRLStore
extends Store
{
/**
* 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 getMatches(Selector selector)
throws StoreException;
}