Package org.xbill.DNS

Class CAARecord

java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.CAARecord
All Implemented Interfaces:
Serializable, Cloneable, Comparable<Record>

public class CAARecord extends Record
Certification Authority Authorization
Author:
Brian Wellington
See Also:
  • Constructor Details

    • CAARecord

      public CAARecord(Name name, int dclass, long ttl, int flags, String tag, String value)
      Creates an CAA Record from the given data.
      Parameters:
      flags - The flags.
      tag - The tag.
      value - The value.
  • Method Details

    • rrFromWire

      protected void rrFromWire(DNSInput in) throws IOException
      Description copied from class: Record
      Converts the type-specific RR to wire format - must be overridden
      Specified by:
      rrFromWire in class Record
      Throws:
      IOException
    • rdataFromString

      protected void rdataFromString(Tokenizer st, Name origin) throws IOException
      Description copied from class: Record
      Converts the text format of an RR to the internal format - must be overriden
      Specified by:
      rdataFromString in class Record
      Throws:
      IOException
    • rrToString

      protected String rrToString()
      Description copied from class: Record
      Converts the type-specific RR to text format - must be overridden.
      Specified by:
      rrToString in class Record
    • getFlags

      public int getFlags()
      Returns the flags.
    • getTag

      public String getTag()
      Returns the tag.
    • getValue

      public String getValue()
      Returns the value
    • rrToWire

      protected void rrToWire(DNSOutput out, Compression c, boolean canonical)
      Description copied from class: Record
      Converts the type-specific RR to wire format - must be overridden.
      Specified by:
      rrToWire in class Record