class Resolv::DNS::Resource::IN::CAA

rubocop: disable Style/ClassAndModuleChildren

Constants

ClassValue
TypeValue

Attributes

flags[R]

Critical Flag

tag[R]

Property identifier

value[R]

A sequence of octets representing the Property Value

Public Class Methods

new(flags, tag, value) click to toggle source
# File lib/caa_rr_patch/caa.rb, line 12
def initialize(flags, tag, value)
  # https://tools.ietf.org/html/rfc8659#section-4.1
  #    +0-1-2-3-4-5-6-7-|0-1-2-3-4-5-6-7-|
  #    | Flags          | Tag Length = n |
  #    +----------------|----------------+...+---------------+
  #    | Tag char 0     | Tag char 1     |...| Tag char n-1  |
  #    +----------------|----------------+...+---------------+
  #    +----------------|----------------+.....+----------------+
  #    | Value byte 0   | Value byte 1   |.....| Value byte m-1 |
  #    +----------------|----------------+.....+----------------+
  @flags = flags
  @tag = tag
  @value = value
end