Class SRRset

java.lang.Object
org.xbill.DNS.RRset
org.jitsi.dnssec.SRRset
All Implemented Interfaces:
Serializable

public class SRRset extends org.xbill.DNS.RRset
An extended version of RRset that adds the indication of DNSSEC security status.
Version:
$Revision: 286 $
Author:
davidb
See Also:
  • Constructor Details

    • SRRset

      public SRRset()
      Create a new, blank SRRset.
    • SRRset

      public SRRset(org.xbill.DNS.RRset r)
      Create a new SRRset from an existing RRset. This SRRset will contain that same internal Record objects as the original RRset.
      Parameters:
      r - The RRset to copy.
  • Method Details

    • getSecurityStatus

      public SecurityStatus getSecurityStatus()
      Return the current security status (generally: SecurityStatus.UNCHECKED, SecurityStatus.BOGUS, or SecurityStatus.SECURE).
      Returns:
      The security status for this set, SecurityStatus.UNCHECKED if it has never been set manually.
    • setSecurityStatus

      public void setSecurityStatus(SecurityStatus status)
      Set the current security status for this SRRset.
      Parameters:
      status - The new security status for this set.
    • getSignerName

      public org.xbill.DNS.Name getSignerName()
      Returns:
      The "signer" name for this SRRset, if signed, or null if not.