keydata.h File Reference

KEYDATA utilities. More...

#include <isc/lang.h>
#include <isc/types.h>
#include <dns/types.h>
#include <dns/rdatastruct.h>

Go to the source code of this file.

Defines

#define DNS_KEYDATA_H   1

Functions

ISC_LANG_BEGINDECLS 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)


Detailed Description

KEYDATA utilities.

Definition in file keydata.h.


Define Documentation

#define DNS_KEYDATA_H   1

Definition at line 20 of file keydata.h.


Function Documentation

ISC_LANG_BEGINDECLS 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().


Generated on Tue Apr 28 17:41:09 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha