Class Dnsruby::RR::DS
In: lib/Dnsruby/resource/DS.rb
Parent: RR

RFC4034, section 4 The DS Resource Record refers to a DNSKEY RR and is used in the DNS DNSKEY authentication process. A DS RR refers to a DNSKEY RR by storing the key tag, algorithm number, and a digest of the DNSKEY RR. Note that while the digest should be sufficient to identify the public key, storing the key tag and key algorithm helps make the identification process more efficient. By authenticating the DS record, a resolver can authenticate the DNSKEY RR to which the DS record points. The key authentication process is described in [RFC4035].

Methods

Classes and Modules

Class Dnsruby::RR::DS::DigestTypes

Constants

TypeValue = Types::DS #:nodoc: all

Attributes

algorithm  [R]  The algorithm used for this key See Dnsruby::Algorithms for permitted values
digest  [RW]  The DS record refers to a DNSKEY RR by including a digest of that DNSKEY RR.
digest_type  [R]  The DS RR refers to a DNSKEY RR by including a digest of that DNSKEY RR. The Digest Type field identifies the algorithm used to construct the digest.
digestbin  [RW] 
key_tag  [RW]  The Key Tag field lists the key tag of the DNSKEY RR referred to by the DS record, in network byte order.

Public Class methods

Public Instance methods

Check if the key‘s digest is the same as that stored in the DS record

Return the digest of the specified DNSKEY RR

[Validate]