Net::LDNS::RR::DNSKEY(3pm)

Net::LDNS::RR::DNSKEY3pm

Type dnskey record

Overview

A subclass of Net::LDNS::RR, so it has all the methods of that class available in addition to the ones documented here.

Methods

flags()

Returns the flag field as a number.

protocol()

Returns the protocol number.

algorithm()

Returns the algorithm number.

keydata()

Returns the cryptographic key in binary form.

ds($hash)

Returns a Net::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.

keysize()

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).

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

From libnet-ldns-perl 0.75-7+b4 in Debian 13 (Trixie). Parsed by carta from the page's man source.