1
2getdns_root_trust_anchor(3) getdns getdns_root_trust_anchor(3)
3
4
5
7 getdns_root_trust_anchor -- return the getdns list of default root
8 trust anchors
9
10
12 DNS Resolver library (libgetdns, -lgetdns)
13
14
16 #include <getdns.h>
17
18 getdns_list *
19 getdns_root_trust_anchor (time_t *utc_date_of_anchor)
20
21
23 If an application wants the API to perform DNSSEC validation without
24 using the extensions, it can use the getdns_validate_dnssec() helper
25 function. The API will use the resource records in bundle_of_sup‐
26 port_records to construct the validation chain and the DNSKEY or DS
27 records in trust_anchor_records as trust anchors. The default list of
28 trust anchor records that is used by the library to validate DNSSEC can
29 be retrieved by using the getdns_root_trust_anchor helper function.
30
31
32 utc_date_of_anchor time the trust anchors were obtained in epoch sec‐
33 onds (on success)
34
35
36
37
39 Returns the default list of trust anchor records used by the library to
40 validate DNSSEC or NULL if no default trust anchors are available.
41
42
44 TBD
45
46
48 getdns_validate_dnssec(3) libgetdns(3)
49
50
51
52
53getdns 1.4.2 December 2015 getdns_root_trust_anchor(3)