ldns_calc_keytag_raw(3)

ldns_calc_keytag_raw3

Calculate ldns keytag

Usage

#include <stdint.h>
#include <stdbool.h>

#include <ldns/ldns.h>

uint16_t ldns_calc_keytag(const ldns_rr *key);

uint16_t ldns_calc_keytag_raw(const uint8_t* key, size_t keysize);

Overview

ldns_calc_keytag() calculates a keytag of a key for use in DNSSEC.

.br key: the key as an RR to use for the calc. .br Returns the keytag

ldns_calc_keytag_raw() Calculates keytag of DNSSEC key, operates on wireformat rdata. .br key: the key as uncompressed wireformat rdata. .br keysize: length of key data. .br Returns the keytag

Remarks

This manpage was automatically generated from the ldns source code.

Releases

6 releases since Debian 9 (Stretch); the text changed 2 times.

  1. 9–10
  2. 11–12
  3. 13–Arch

Author

The ldns team at NLnet Labs.

Reporting bugs

Please report bugs to [email protected] or on GitHub at https://github.com/NLnetLabs/ldns/issues

From ldns 1.9.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.