org.bouncycastle.util.Store Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bcprov-ext-debug-jdk18on Show documentation
Show all versions of bcprov-ext-debug-jdk18on Show documentation
The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. This jar contains JCE provider and lightweight API for the Bouncy Castle Cryptography APIs for Java 1.8 and later with debug enabled.
The newest version!
package org.bouncycastle.util;
import java.util.Collection;
/**
* A generic interface describing a simple store of objects.
*
* @param the object type stored.
*/
public interface Store
{
/**
* Return a possibly empty collection of objects that match the criteria implemented
* in the passed in Selector.
*
* @param selector the selector defining the match criteria.
* @return a collection of matching objects, empty if none available.
* @throws StoreException if there is a failure during matching.
*/
Collection getMatches(Selector selector)
throws StoreException;
}