Interface TrustAnchorStore


public interface TrustAnchorStore
Storage for DS or DNSKEY records that are known to be trusted.
Since:
3.6
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Removes all stored trust anchors.
    find(Name name, int dclass)
    Gets the closest trusted key for the given name or null if no match is found.
    Gets all trust anchors currently in use.
    void
    store(RRset rrset)
    Stores the given RRset as known trusted keys.
  • Method Details

    • store

      void store(RRset rrset)
      Stores the given RRset as known trusted keys.
      Parameters:
      rrset - The key set to store as trusted.
    • find

      RRset find(Name name, int dclass)
      Gets the closest trusted key for the given name or null if no match is found.
      Parameters:
      name - The name to search for.
      dclass - The DClass of the keys.
      Returns:
      The closest found key for name or null.
    • clear

      void clear()
      Removes all stored trust anchors.
    • items

      Collection<RRset> items()
      Gets all trust anchors currently in use.