vendor/bundle/ruby/2.7.0/gems/dnsruby-1.61.5/lib/dnsruby/resource/TLSA.rb
#  Create the RR from a standard string
Create the RR from a standard string
Create the RR from a standard string
def from_string(input)
          values = input.split(' ', 4)
          self.usage = values[0].to_i
          self.selector = values[1].to_i
          self.matching_type = values[2].to_i
          self.data = values[3]
          verify
        end
def from_string ( input ) values = input . split ( ' ' , 4 ) self . usage = values [ 0 ] . to_i self . selector = values [ 1 ] . to_i self . matching_type = values [ 2 ] . to_i self . data = values [ 3 ] verify end
Create the RR from a standard string
Create the RR from a standard string
input
<not_specific>