1ldns(3) Library Functions Manual ldns(3)
2
3
4
6 ldns_rr_rrsig_typecovered, ldns_rr_rrsig_set_typecovered,
7 ldns_rr_rrsig_algorithm, ldns_rr_rrsig_set_algorithm,
8 ldns_rr_rrsig_labels, ldns_rr_rrsig_set_labels, ldns_rr_rrsig_origttl,
9 ldns_rr_rrsig_set_origttl, ldns_rr_rrsig_expiration,
10 ldns_rr_rrsig_set_expiration, ldns_rr_rrsig_inception,
11 ldns_rr_rrsig_set_inception, ldns_rr_rrsig_keytag,
12 ldns_rr_rrsig_set_keytag, ldns_rr_rrsig_signame, ldns_rr_rrsig_set_sig‐
13 name, ldns_rr_rrsig_sig, ldns_rr_rrsig_set_sig
14
15
17 #include <stdint.h>
18 #include <stdbool.h>
19
20 #include <ldns/ldns.h>
21
22 ldns_rdf* ldns_rr_rrsig_typecovered(const ldns_rr *r);
23
24 bool ldns_rr_rrsig_set_typecovered(ldns_rr *r, ldns_rdf *f);
25
26 ldns_rdf* ldns_rr_rrsig_algorithm(const ldns_rr *r);
27
28 bool ldns_rr_rrsig_set_algorithm(ldns_rr *r, ldns_rdf *f);
29
30 ldns_rdf* ldns_rr_rrsig_labels(const ldns_rr *r);
31
32 bool ldns_rr_rrsig_set_labels(ldns_rr *r, ldns_rdf *f);
33
34 ldns_rdf* ldns_rr_rrsig_origttl(const ldns_rr *r);
35
36 bool ldns_rr_rrsig_set_origttl(ldns_rr *r, ldns_rdf *f);
37
38 ldns_rdf* ldns_rr_rrsig_expiration(const ldns_rr *r);
39
40 bool ldns_rr_rrsig_set_expiration(ldns_rr *r, ldns_rdf *f);
41
42 ldns_rdf* ldns_rr_rrsig_inception(const ldns_rr *r);
43
44 bool ldns_rr_rrsig_set_inception(ldns_rr *r, ldns_rdf *f);
45
46 ldns_rdf* ldns_rr_rrsig_keytag(const ldns_rr *r);
47
48 bool ldns_rr_rrsig_set_keytag(ldns_rr *r, ldns_rdf *f);
49
50 ldns_rdf* ldns_rr_rrsig_signame(const ldns_rr *r);
51
52 bool ldns_rr_rrsig_set_signame(ldns_rr *r, ldns_rdf *f);
53
54 ldns_rdf* ldns_rr_rrsig_sig(const ldns_rr *r);
55
56 bool ldns_rr_rrsig_set_sig(ldns_rr *r, ldns_rdf *f);
57
59 ldns_rr_rrsig_typecovered() returns the type covered of a
60 LDNS_RR_TYPE_RRSIG rr
61 r: the resource record
62 Returns a ldns_rdf* with the type covered or NULL on failure
63
64 ldns_rr_rrsig_set_typecovered() sets the typecovered of a
65 LDNS_RR_TYPE_RRSIG rr
66 r: the rr to use
67 f: the typecovered to set
68 Returns true on success, false otherwise
69
70 ldns_rr_rrsig_algorithm() returns the algorithm of a LDNS_RR_TYPE_RRSIG
71 RR
72 r: the resource record
73 Returns a ldns_rdf* with the algorithm or NULL on failure
74
75 ldns_rr_rrsig_set_algorithm() sets the algorithm of a
76 LDNS_RR_TYPE_RRSIG rr
77 r: the rr to use
78 f: the algorithm to set
79 Returns true on success, false otherwise
80
81 ldns_rr_rrsig_labels() returns the number of labels of a
82 LDNS_RR_TYPE_RRSIG RR
83 r: the resource record
84 Returns a ldns_rdf* with the number of labels or NULL on failure
85
86 ldns_rr_rrsig_set_labels() sets the number of labels of a
87 LDNS_RR_TYPE_RRSIG rr
88 r: the rr to use
89 f: the number of labels to set
90 Returns true on success, false otherwise
91
92 ldns_rr_rrsig_origttl() returns the original TTL of a
93 LDNS_RR_TYPE_RRSIG RR
94 r: the resource record
95 Returns a ldns_rdf* with the original TTL or NULL on failure
96
97 ldns_rr_rrsig_set_origttl() sets the original TTL of a
98 LDNS_RR_TYPE_RRSIG rr
99 r: the rr to use
100 f: the original TTL to set
101 Returns true on success, false otherwise
102
103 ldns_rr_rrsig_expiration() returns the expiration time of a
104 LDNS_RR_TYPE_RRSIG RR
105 r: the resource record
106 Returns a ldns_rdf* with the expiration time or NULL on failure
107
108 ldns_rr_rrsig_set_expiration() sets the expireation date of a
109 LDNS_RR_TYPE_RRSIG rr
110 r: the rr to use
111 f: the expireation date to set
112 Returns true on success, false otherwise
113
114 ldns_rr_rrsig_inception() returns the inception time of a
115 LDNS_RR_TYPE_RRSIG RR
116 r: the resource record
117 Returns a ldns_rdf* with the inception time or NULL on failure
118
119 ldns_rr_rrsig_set_inception() sets the inception date of a
120 LDNS_RR_TYPE_RRSIG rr
121 r: the rr to use
122 f: the inception date to set
123 Returns true on success, false otherwise
124
125 ldns_rr_rrsig_keytag() returns the keytag of a LDNS_RR_TYPE_RRSIG RR
126 r: the resource record
127 Returns a ldns_rdf* with the keytag or NULL on failure
128
129 ldns_rr_rrsig_set_keytag() sets the keytag of a LDNS_RR_TYPE_RRSIG rr
130 r: the rr to use
131 f: the keytag to set
132 Returns true on success, false otherwise
133
134 ldns_rr_rrsig_signame() returns the signers name of a
135 LDNS_RR_TYPE_RRSIG RR
136 r: the resource record
137 Returns a ldns_rdf* with the signers name or NULL on failure
138
139 ldns_rr_rrsig_set_signame() sets the signers name of a
140 LDNS_RR_TYPE_RRSIG rr
141 r: the rr to use
142 f: the signers name to set
143 Returns true on success, false otherwise
144
145 ldns_rr_rrsig_sig() returns the signature data of a LDNS_RR_TYPE_RRSIG
146 RR
147 r: the resource record
148 Returns a ldns_rdf* with the signature data or NULL on failure
149
150 ldns_rr_rrsig_set_sig() sets the signature data of a LDNS_RR_TYPE_RRSIG
151 rr
152 r: the rr to use
153 f: the signature data to set
154 Returns true on success, false otherwise
155
157 The ldns team at NLnet Labs. Which consists out of Jelte Jansen and
158 Miek Gieben.
159
160
162 Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at
163 http://www.nlnetlabs.nl/bugs/index.html
164
165
167 Copyright (c) 2004 - 2006 NLnet Labs.
168
169 Licensed under the BSD License. There is NO warranty; not even for MER‐
170 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
171
173 perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.
174
176 This manpage was automaticly generated from the ldns source code by use
177 of Doxygen and some perl.
178
179
180
181 30 May 2006 ldns(3)