#include <config.h>
#include <isc/buffer.h>
#include <isc/mem.h>
#include <isc/string.h>
#include <isc/util.h>
#include <dns/rdata.h>
#include <dns/rdatastruct.h>
#include <dns/keydata.h>
Go to the source code of this file.
Functions | |
isc_result_t | dns_keydata_todnskey (dns_rdata_keydata_t *keydata, dns_rdata_dnskey_t *dnskey, isc_mem_t *mctx) |
isc_result_t | dns_keydata_fromdnskey (dns_rdata_keydata_t *keydata, dns_rdata_dnskey_t *dnskey, isc_uint32_t refresh, isc_uint32_t addhd, isc_uint32_t removehd, isc_mem_t *mctx) |
Definition in file keydata.c.
isc_result_t dns_keydata_todnskey | ( | dns_rdata_keydata_t * | keydata, | |
dns_rdata_dnskey_t * | dnskey, | |||
isc_mem_t * | mctx | |||
) |
Definition at line 34 of file keydata.c.
References isc_mem_allocate, ISC_R_NOMEMORY, ISC_R_SUCCESS, and REQUIRE.
Referenced by load_secroots(), normalize_key(), and revocable().
isc_result_t dns_keydata_fromdnskey | ( | dns_rdata_keydata_t * | keydata, | |
dns_rdata_dnskey_t * | dnskey, | |||
isc_uint32_t | refresh, | |||
isc_uint32_t | addhd, | |||
isc_uint32_t | removehd, | |||
isc_mem_t * | mctx | |||
) |
Definition at line 61 of file keydata.c.
References isc_mem_allocate, ISC_R_NOMEMORY, ISC_R_SUCCESS, and REQUIRE.
Referenced by create_keydata(), and keyfetch_done().