1ldns(3) Library Functions Manual ldns(3)
2
3
4
6 ldns_zone_sign, ldns_zone_sign_nsec3 - dnssec sign a zone
7
8
10 #include <stdint.h>
11 #include <stdbool.h>
12
13 #include <ldns/ldns.h>
14
15 ldns_zone* ldns_zone_sign(const ldns_zone *zone, ldns_key_list
16 *key_list);
17
18 ldns_zone* ldns_zone_sign_nsec3(ldns_zone *zone, ldns_key_list
19 *key_list, uint8_t algorithm, uint8_t flags, uint16_t iterations,
20 uint8_t salt_length, uint8_t *salt);
21
23 ldns_zone_sign() Signs the zone, and returns a newly allocated signed
24 zone
25 zone: the zone to sign
26 key_list: list of keys to sign with
27 Returns signed zone
28
29 ldns_zone_sign_nsec3() Signs the zone with NSEC3, and returns a newly
30 allocated signed zone
31 zone: the zone to sign
32 key_list: list of keys to sign with
33 algorithm: the NSEC3 hashing algorithm to use
34 flags: NSEC3 flags
35 iterations: the number of NSEC3 hash iterations to use
36 salt_length: the length (in octets) of the NSEC3 salt
37 salt: the NSEC3 salt data
38 Returns signed zone
39
41 The ldns team at NLnet Labs. Which consists out of Jelte Jansen and
42 Miek Gieben.
43
44
46 Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at
47 http://www.nlnetlabs.nl/bugs/index.html
48
49
51 Copyright (c) 2004 - 2006 NLnet Labs.
52
53 Licensed under the BSD License. There is NO warranty; not even for MER‐
54 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
55
57 perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.
58
60 This manpage was automatically generated from the ldns source code by
61 use of Doxygen and some perl.
62
63
64
65 30 May 2006 ldns(3)