Class DANEEntryStore

java.lang.Object
org.bouncycastle.cert.dane.DANEEntryStore
All Implemented Interfaces:
org.bouncycastle.util.Store

public class DANEEntryStore extends Object implements org.bouncycastle.util.Store
Class storing DANEEntry objects. An address may have several entries (one per SMIMEA record under its owner name), and all of them are kept.
  • Method Details

    • getMatches

      public Collection getMatches(org.bouncycastle.util.Selector selector) throws org.bouncycastle.util.StoreException
      Return a collection of entries matching the passed in selector.
      Specified by:
      getMatches in interface org.bouncycastle.util.Store
      Parameters:
      selector - the selector to validate entries against.
      Returns:
      a possibly empty collection of matched entries.
      Throws:
      org.bouncycastle.util.StoreException - in case of an underlying issue.
    • toCertificateStore

      public org.bouncycastle.util.Store toCertificateStore()
      Return a Store of X509CertificateHolder objects representing all the certificates associated with entries in the store.
      Returns:
      a Store of X509CertificateHolder.