1ldns(25 Apr 2005) ldns(25 Apr 2005)
2
3
4
6 ldns_verify, ldns_verify_rrsig, ldns_verify_rrsig_keylist
7
8
10 #ifdef HAVE_STDINT_H
11 #include <stdint.h>
12 #endif /* HAVE_STDINT_H */
13
14 #ifdef HAVE_STDBOOL_H
15 #include <stdbool.h>
16 #endif /* HAVE_STDBOOL_H */
17
18 #include <ldns/ldns.h>
19
20 ldns_status ldns_verify(ldns_rr_list *rrset, ldns_rr_list *rrsig,
21 ldns_rr_list *keys, ldns_rr_list *good_keys);
22
23 ldns_verify_rrsig();
24
25 ldns_status ldns_verify_rrsig_keylist(ldns_rr_list *rrset, ldns_rr
26 *rrsig, ldns_rr_list *keys, ldns_rr_list *good_keys);
27
29 ldns_verify() verifies an rrsig rrset.
30
31 rrset: the rrset to verify
32 rrsig: a list of signatures to check
33 keys: a list of keys to check with
34 good_keys: if this is a (initialized) list, the keys from keys
35 that validate one of the signatures are added to it
36 Returns status LDNS_STATUS_OK if there is at least one correct
37 key
38
39 ldns_verify_rrsig()
40
41 ldns_verify_rrsig_keylist() Verifies an rrsig. All keys in the keyset
42 are tried.
43 rrset: the rrset to check
44 rrsig: the signature of the rrset
45 keys: the keys to try
46 good_keys: if this is a (initialized) list, the keys from keys
47 that validate one of the signatures are added to it
48 Returns a list of keys which validate the rrsig + rrset. Return
49 NULL when none of the keys validate.
50
52 The ldns team at NLnet Labs. Which consists out of: Jelte Jansen, Erik
53 Rozendaal and Miek Gieben.
54
55
57 Please report bugs to ldns-team@nlnetlabs.nl or in our Bugzilla at
58 http://www.nlnetlabs.nl/bugs/index.html
59
60 Be sure to select ldns as the product.
61
62
64 Copyright (c) 2004, 2005 NLnet Labs. Licensed under the BSD License.
65 There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
66 PARTICULAR PURPOSE.
67
68
70 ldns_verify_rrsig_dsa, ldns_verify_rrsig_rsasha1, ldns_ver‐
71 ify_rrsig_rsamd5. And perldoc Net::DNS, RFC1043, RFC1035, RFC4033,
72 RFC4034 and RFC4035.
73
75 This manpage was automaticly generated from the ldns source code by use
76 of Doxygen and some perl.
77
78
79
80 ldns(25 Apr 2005)