#include <isc/types.h>
#include <isc/lang.h>
#include <isccfg/cfg.h>
Go to the source code of this file.
Defines | |
#define | NS_TKEYCONF_H 1 |
Functions | |
ISC_LANG_BEGINDECLS isc_result_t | ns_tkeyctx_fromconfig (const cfg_obj_t *options, isc_mem_t *mctx, isc_entropy_t *ectx, dns_tkeyctx_t **tctxp) |
Create a TKEY context and configure it, including the default DH key and default domain, according to 'options'. |
Definition in file tkeyconf.h.
#define NS_TKEYCONF_H 1 |
Definition at line 21 of file tkeyconf.h.
ISC_LANG_BEGINDECLS isc_result_t ns_tkeyctx_fromconfig | ( | const cfg_obj_t * | options, | |
isc_mem_t * | mctx, | |||
isc_entropy_t * | ectx, | |||
dns_tkeyctx_t ** | tctxp | |||
) |
Create a TKEY context and configure it, including the default DH key and default domain, according to 'options'.
Requires:
Definition at line 54 of file tkeyconf.c.
References cfg_map_get(), cfg_obj_asstring(), cfg_obj_asuint32(), cfg_tuple_get(), dns_tkeyctx::dhkey, dns_fixedname_init, dns_fixedname_name, DNS_KEYALG_DH, dns_name_dup(), dns_name_fromtext(), dns_name_init(), dns_rootname, dns_tkeyctx_create(), dns_tkeyctx_destroy(), dns_tkeyctx::domain, dst_gssapi_acquirecred(), dst_key_fromfile(), DST_TYPE_KEY, DST_TYPE_PRIVATE, DST_TYPE_PUBLIC, dns_tkeyctx::gssapi_keytab, dns_tkeyctx::gsscred, isc_buffer_add, isc_buffer_constinit, ISC_FALSE, isc_mem_get, isc_mem_strdup, ISC_R_NOMEMORY, ISC_R_SUCCESS, name, RETERR, and s.
Referenced by load_configuration().