1ldns(3)                    Library Functions Manual                    ldns(3)
2
3
4

NAME

6       ldns_calc_keytag, ldns_calc_keytag_raw - calculate ldns keytag
7
8

SYNOPSIS

10       #include <stdint.h>
11       #include <stdbool.h>
12
13       #include <ldns/ldns.h>
14
15       uint16_t ldns_calc_keytag(const ldns_rr *key);
16
17       uint16_t ldns_calc_keytag_raw(const uint8_t* key, size_t keysize);
18

DESCRIPTION

20       ldns_calc_keytag() calculates a keytag of a key for use in DNSSEC.
21
22              key: the key as an RR to use for the calc.
23              Returns the keytag
24
25       ldns_calc_keytag_raw() Calculates keytag of DNSSEC key, operates on
26              wireformat rdata.
27              key: the key as uncompressed wireformat rdata.
28              keysize: length of key data.
29              Returns the keytag
30

AUTHOR

32       The ldns team at NLnet Labs.
33
34

REPORTING BUGS

36       Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at
37       http://www.nlnetlabs.nl/bugs/index.html
38
39
41       Copyright (c) 2004 - 2006 NLnet Labs.
42
43       Licensed under the BSD License. There is NO warranty; not even for MER‐
44       CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
45
46

SEE ALSO

48       ldns_key.  And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034
49       and RFC4035.
50

REMARKS

52       This manpage was automatically generated from the ldns source code.
53
54
55
56                                  30 May 2006                          ldns(3)
Impressum