1ldns(3)                    Library Functions Manual                    ldns(3)
2
3
4

NAME

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 - get and set RRSIG RR
14       rdata fields
15
16

SYNOPSIS

18       #include <stdint.h>
19       #include <stdbool.h>
20
21       #include <ldns/ldns.h>
22
23       ldns_rdf* ldns_rr_rrsig_typecovered(const ldns_rr *r);
24
25       bool ldns_rr_rrsig_set_typecovered(ldns_rr *r, ldns_rdf *f);
26
27       ldns_rdf* ldns_rr_rrsig_algorithm(const ldns_rr *r);
28
29       bool ldns_rr_rrsig_set_algorithm(ldns_rr *r, ldns_rdf *f);
30
31       ldns_rdf* ldns_rr_rrsig_labels(const ldns_rr *r);
32
33       bool ldns_rr_rrsig_set_labels(ldns_rr *r, ldns_rdf *f);
34
35       ldns_rdf* ldns_rr_rrsig_origttl(const ldns_rr *r);
36
37       bool ldns_rr_rrsig_set_origttl(ldns_rr *r, ldns_rdf *f);
38
39       ldns_rdf* ldns_rr_rrsig_expiration(const ldns_rr *r);
40
41       bool ldns_rr_rrsig_set_expiration(ldns_rr *r, ldns_rdf *f);
42
43       ldns_rdf* ldns_rr_rrsig_inception(const ldns_rr *r);
44
45       bool ldns_rr_rrsig_set_inception(ldns_rr *r, ldns_rdf *f);
46
47       ldns_rdf* ldns_rr_rrsig_keytag(const ldns_rr *r);
48
49       bool ldns_rr_rrsig_set_keytag(ldns_rr *r, ldns_rdf *f);
50
51       ldns_rdf* ldns_rr_rrsig_signame(const ldns_rr *r);
52
53       bool ldns_rr_rrsig_set_signame(ldns_rr *r, ldns_rdf *f);
54
55       ldns_rdf* ldns_rr_rrsig_sig(const ldns_rr *r);
56
57       bool ldns_rr_rrsig_set_sig(ldns_rr *r, ldns_rdf *f);
58

DESCRIPTION

60       ldns_rr_rrsig_typecovered() returns the type covered of a
61              LDNS_RR_TYPE_RRSIG rr
62              r: the resource record
63              Returns a ldns_rdf* with the type covered or NULL on failure
64
65       ldns_rr_rrsig_set_typecovered() sets the typecovered of a
66              LDNS_RR_TYPE_RRSIG rr
67              r: the rr to use
68              f: the typecovered to set
69              Returns true on success, false otherwise
70
71       ldns_rr_rrsig_algorithm() returns the algorithm of a LDNS_RR_TYPE_RRSIG
72              RR
73              r: the resource record
74              Returns a ldns_rdf* with the algorithm or NULL on failure
75
76       ldns_rr_rrsig_set_algorithm() sets the algorithm of a
77              LDNS_RR_TYPE_RRSIG rr
78              r: the rr to use
79              f: the algorithm to set
80              Returns true on success, false otherwise
81
82       ldns_rr_rrsig_labels() returns the number of labels of a
83              LDNS_RR_TYPE_RRSIG RR
84              r: the resource record
85              Returns a ldns_rdf* with the number of labels or NULL on failure
86
87       ldns_rr_rrsig_set_labels() sets the number of labels of a
88              LDNS_RR_TYPE_RRSIG rr
89              r: the rr to use
90              f: the number of labels to set
91              Returns true on success, false otherwise
92
93       ldns_rr_rrsig_origttl() returns the original TTL of a
94              LDNS_RR_TYPE_RRSIG RR
95              r: the resource record
96              Returns a ldns_rdf* with the original TTL or NULL on failure
97
98       ldns_rr_rrsig_set_origttl() sets the original TTL of a
99              LDNS_RR_TYPE_RRSIG rr
100              r: the rr to use
101              f: the original TTL to set
102              Returns true on success, false otherwise
103
104       ldns_rr_rrsig_expiration() returns the expiration time of a
105              LDNS_RR_TYPE_RRSIG RR
106              r: the resource record
107              Returns a ldns_rdf* with the expiration time or NULL on failure
108
109       ldns_rr_rrsig_set_expiration() sets the expireation date of a
110              LDNS_RR_TYPE_RRSIG rr
111              r: the rr to use
112              f: the expireation date to set
113              Returns true on success, false otherwise
114
115       ldns_rr_rrsig_inception() returns the inception time of a
116              LDNS_RR_TYPE_RRSIG RR
117              r: the resource record
118              Returns a ldns_rdf* with the inception time or NULL on failure
119
120       ldns_rr_rrsig_set_inception() sets the inception date of a
121              LDNS_RR_TYPE_RRSIG rr
122              r: the rr to use
123              f: the inception date to set
124              Returns true on success, false otherwise
125
126       ldns_rr_rrsig_keytag() returns the keytag of a LDNS_RR_TYPE_RRSIG RR
127              r: the resource record
128              Returns a ldns_rdf* with the keytag or NULL on failure
129
130       ldns_rr_rrsig_set_keytag() sets the keytag of a LDNS_RR_TYPE_RRSIG rr
131              r: the rr to use
132              f: the keytag to set
133              Returns true on success, false otherwise
134
135       ldns_rr_rrsig_signame() returns the signers name of a
136              LDNS_RR_TYPE_RRSIG RR
137              r: the resource record
138              Returns a ldns_rdf* with the signers name or NULL on failure
139
140       ldns_rr_rrsig_set_signame() sets the signers name of a
141              LDNS_RR_TYPE_RRSIG rr
142              r: the rr to use
143              f: the signers name to set
144              Returns true on success, false otherwise
145
146       ldns_rr_rrsig_sig() returns the signature data of a LDNS_RR_TYPE_RRSIG
147              RR
148              r: the resource record
149              Returns a ldns_rdf* with the signature data or NULL on failure
150
151       ldns_rr_rrsig_set_sig() sets the signature data of a LDNS_RR_TYPE_RRSIG
152              rr
153              r: the rr to use
154              f: the signature data to set
155              Returns true on success, false otherwise
156

AUTHOR

158       The ldns team at NLnet Labs. Which consists out of Jelte Jansen and
159       Miek Gieben.
160
161

REPORTING BUGS

163       Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at
164       http://www.nlnetlabs.nl/bugs/index.html
165
166
168       Copyright (c) 2004 - 2006 NLnet Labs.
169
170       Licensed under the BSD License. There is NO warranty; not even for MER‐
171       CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
172

SEE ALSO

174       perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.
175

REMARKS

177       This manpage was automatically generated from the ldns source code by
178       use of Doxygen and some perl.
179
180
181
182                                  30 May 2006                          ldns(3)
Impressum