Zonemaster::LDNS::RR::DNSKEY - Type DNSKEY record
A subclass of Zonemaster::LDNS::RR, so it has all the methods of that class available in addition to the ones documented here.
Returns the flag field as a number.
Returns the protocol number.
Returns the algorithm number.
Returns the cryptographic key in binary form.
Returns a Zonemaster::LDNS::RR::DS record matching this key. The argument must be one of the strings 'sha1', 'sha256', 'sha384' or 'gost'. GOST may not be available, depending on how you ldns library was compiled.
The size of the key stored in the record. For RSA variants, it's the length in bits of the prime number. For DSA variants, it's the key's "T" value (see RFC2536). For DH, it's the value of the "prime length" field (and probably useless, since DH keys can't have signature records).