class Resolv::DNS::Resource::CAA
CAA
资源记录,定义于 RFC 8659
这些记录标识了允许为给定域名颁发证书的证书颁发机构。
常量
- TypeValue
属性
此属性的标志
-
位 0:0 = 非关键,1 = 关键
属性标签(“issue”、“issuewild”、“iodef”等)。
属性值。
公共类方法
源码
# File lib/resolv.rb, line 2566 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
为 flags
、tag
和 value
创建一个新的 CAA
。