Man page - getdns_validate_dnssec(3)
Packages contas this manual
- getdns_dict_get(3)
- getdns_list_set_int(3)
- getdns_display_ip_address(3)
- getdns_list_set_dict(3)
- getdns_dict_get_names(3)
- getdns_context(3)
- getdns_list_set(3)
- getdns_convert_fqdn_to_dns_name(3)
- getdns_dict_get_list(3)
- getdns_dict_create_with_extended_memory_functions(3)
- getdns_list(3)
- getdns_dict_create_with_memory_functions(3)
- getdns_context_get_api_information(3)
- getdns_context_set_dns_transport(3)
- getdns_context_set_context_update_callback(3)
- getdns_dict_set_int(3)
- getdns_context_set_dnssec_allowed_skew(3)
- getdns_list_create(3)
- getdns_pretty_print_dict(3)
- getdns_list_create_with_memory_functions(3)
- getdns_context_create(3)
- getdns_validate_dnssec(3)
- getdns_address(3)
- getdns_context_create_with_extended_memory_functions(3)
- getdns_list_set_list(3)
- getdns_context_set_namespaces(3)
- getdns_dict_get_bindata(3)
- getdns_list_get_int(3)
- getdns_context_set_resolution_type(3)
- getdns_list_get_data_type(3)
- getdns_list_set_bindata(3)
- getdns_context_destroy(3)
- getdns_list_get_length(3)
- getdns_dict_set_dict(3)
- getdns_dict_set_bindata(3)
- getdns_general_sync(3)
- getdns_list_get_list(3)
- getdns_context_set_limit_outstanding_queries(3)
- getdns_list_get_bindata(3)
- getdns_address_sync(3)
- getdns_dict_set_list(3)
- getdns_context_set_timeout(3)
- getdns_dict_create(3)
- getdns_context_set(3)
- libgetdns(3)
- getdns_dict_get_data_type(3)
- getdns_service(3)
- getdns_list_get_dict(3)
- getdns_list_destroy(3)
- getdns_convert_dns_name_to_fqdn(3)
- getdns_dict_get_dict(3)
- getdns_hostname_sync(3)
- getdns_convert(3)
- getdns_context_set_dns_root_servers(3)
- getdns_general(3)
- getdns_list_create_with_extended_memory_functions(3)
- getdns_root_trust_anchor(3)
- getdns_context_create_with_memory_functions(3)
- getdns_list_get(3)
- getdns_cancel_callback(3)
- getdns_context_set_dnssec_trust_anchors(3)
- getdns_context_set_suffix(3)
- getdns_dict_destroy(3)
- getdns_dict_get_int(3)
- getdns_context_set_append_name(3)
- getdns_context_set_follow_redirects(3)
- getdns_dict_set(3)
- getdns_dict(3)
- getdns_hostname(3)
- getdns_service_sync(3)
apt-get install libgetdns-dev
Manual
| getdns_validate_dnssec(3) | getdns | getdns_validate_dnssec(3) |
NAME
getdns_validate_dnssec -- DNSSEC validate a given getdns record
LIBRARY
DNS Resolver library (libgetdns, -lgetdns)
SYNOPSIS
#include <getdns.h>
getdns_return_t
getdns_validate_dnssec (getdns_list *record_to_validate,
getdns_list *trust_anchor_records)
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_support_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.
record_to_validate the resource record being validated
bundle_of_support_records records used to construct the validation chain
trust_anchor_records trust anchor records to use for the validation
RETURN VALUES
GETDNS_DNSSEC_BOGUS the DNSSEC signature is bogus
GETDNS_DNSSEC_INDETERMINATE validation could not be completed
GETDNS_DNSSEC_INSECURE one or more pieces of the validation chain are demonstrably incorrect
GETDNS_DNSSEC_SECURE validation succeeded
GETDNS_RETURN_MEMORY_ERROR an attempt to allocate memory failed
EXAMPLES
TBD
SEE ALSO
getdns_root_trust_anchor(3) libgetdns(3)
| December 2015 | getdns 1.6.0 |