vendor/bundle/ruby/2.7.0/gems/dnsruby-1.61.5/lib/dnsruby/resource/DS.rb
#  Check if the key's digest is the same as that stored in the DS record
Check if the key's digest is the same as that stored in the DS record
Check if the key ' s digest is the same as that stored in the DS record
def check_key(key)
        if ((key.key_tag == @key_tag) && (key.algorithm == @algorithm))
          digestbin = digest_key(key)
          if (@digestbin == digestbin)
            if (!key.zone_key?)
            else
              return true
            end
          else
          end
        end
        return false
      end
def check_key ( key ) if ( ( key . key_tag == @key_tag ) && ( key . algorithm == @algorithm ) ) digestbin = digest_key ( key ) if ( @digestbin == digestbin ) if ( ! key . zone_key? ) else return true end else end end return false end
Check if the key's digest is the same as that stored in the DS record
Check if the key ' s digest is the same as that stored in the DS record
key
<not_specific>