1ldns(3) Library Functions Manual ldns(3)
2
3
4
6 ldns_calc_keytag, ldns_calc_keytag_raw - calculate ldns keytag
7
8
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
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
32 The ldns team at NLnet Labs. Which consists out of Jelte Jansen and
33 Miek Gieben.
34
35
37 Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at
38 http://www.nlnetlabs.nl/bugs/index.html
39
40
42 Copyright (c) 2004 - 2006 NLnet Labs.
43
44 Licensed under the BSD License. There is NO warranty; not even for MER‐
45 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
46
47
49 ldns_key. And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034
50 and RFC4035.
51
53 This manpage was automatically generated from the ldns source code by
54 use of Doxygen and some perl.
55
56
57
58 30 May 2006 ldns(3)