1ldns(3) Library Functions Manual ldns(3)
2
3
4
6 ldns_key_rr2ds - create DS rr from DNSKEY rr
7
8
10 #include <stdint.h>
11 #include <stdbool.h>
12
13 #include <ldns/ldns.h>
14
15 ldns_rr* ldns_key_rr2ds(const ldns_rr *key, ldns_hash h);
16
18 ldns_key_rr2ds() returns a new DS rr that represents the given key rr.
19
20 *key: the key to convert
21 h: the hash to use LDNS_SHA1/LDNS_SHA256
22
23 Returns ldns_rr* a new rr pointer to a DS
24
26 The ldns team at NLnet Labs.
27
28
30 Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at
31 http://www.nlnetlabs.nl/bugs/index.html
32
33
35 Copyright (c) 2004 - 2006 NLnet Labs.
36
37 Licensed under the BSD License. There is NO warranty; not even for MER‐
38 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
39
40
42 ldns_key. And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034
43 and RFC4035.
44
46 This manpage was automatically generated from the ldns source code.
47
48
49
50 30 May 2006 ldns(3)