CAA
resource record defined in RFC 8659
These records identify certificate authority allowed to issue certificates for the given domain.
Constants
No documentation available
Attributes
Read
Flags for this proprty:
-
Bit 0 : 0 = not critical, 1 = critical
Read
Property tag (“issue”, “issuewild”, “iodef”…).
Read
Property value.
Class Methods
lib/resolv.rb
View on GitHub
# File tmp/rubies/ruby-master/lib/resolv.rb, line 2561
def initialize(flags, tag, value)
unless (0..255) === flags
raise ArgumentError.new('flags must be an Integer between 0 and 255')
end
unless (1..15) === tag.bytesize
raise ArgumentError.new('length of tag must be between 1 and 15')
end
@flags = flags
@tag = tag
@value = value
end
Creates a new CAA
for flags
, tag
and value
.
Instance Methods
lib/resolv.rb
View on GitHub
# File tmp/rubies/ruby-master/lib/resolv.rb, line 2593
def critical?
flags & 0x80 != 0
end
Whether the critical flag is set on this property.