Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
getdns_root_trust_anchor(3)	    getdns	   getdns_root_trust_anchor(3)

NAME
       getdns_root_trust_anchor	 --  return  the  getdns  list of default root
       trust anchors

LIBRARY
       DNS Resolver library (libgetdns,	-lgetdns)

SYNOPSIS
       #include	<getdns.h>

       getdns_list *
       getdns_root_trust_anchor	(time_t	*utc_date_of_anchor)

DESCRIPTION
       If an application wants the API to perform  DNSSEC  validation  without
       using  the  extensions,	it can use the getdns_validate_dnssec()	helper
       function. The API will  use  the	 resource  records  in	bundle_of_sup-
       port_records  to	 construct  the	 validation chain and the DNSKEY or DS
       records in trust_anchor_records as trust	anchors. The default  list  of
       trust anchor records that is used by the	library	to validate DNSSEC can
       be retrieved by using the getdns_root_trust_anchor helper function.

       utc_date_of_anchor  time	 the trust anchors were	obtained in epoch sec-
	  onds (on success)

RETURN VALUES
       Returns the default list	of trust anchor	records	used by	the library to
       validate	DNSSEC or NULL if no default trust anchors are available.

EXAMPLES
       TBD

SEE ALSO
       getdns_validate_dnssec(3) libgetdns(3)

getdns 1.5.2			 December 2015	   getdns_root_trust_anchor(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=getdns_root_trust_anchor&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help