Class CollectionStore

java.lang.Object
org.bouncycastle.util.CollectionStore
All Implemented Interfaces:
Store
Direct Known Subclasses:
JcaCertStore

public class CollectionStore
extends Object
implements Store
A simple collection backed store.
  • Constructor Details

    • CollectionStore

      public CollectionStore​(Collection collection)
      Basic constructor.
      Parameters:
      collection - - initial contents for the store, this is copied.
  • Method Details

    • getMatches

      public Collection getMatches​(Selector selector)
      Return the matches in the collection for the passed in selector.
      Specified by:
      getMatches in interface Store
      Parameters:
      selector - the selector to match against.
      Returns:
      a possibly empty collection of matching objects.