key_25.c File Reference

#include <dst/dst.h>

Go to the source code of this file.

Defines

#define RRTYPE_KEY_ATTRIBUTES   (0)

Functions

static isc_result_t fromtext_key (ARGS_FROMTEXT)
static isc_result_t totext_key (ARGS_TOTEXT)
static isc_result_t fromwire_key (ARGS_FROMWIRE)
static isc_result_t towire_key (ARGS_TOWIRE)
static int compare_key (ARGS_COMPARE)
static isc_result_t fromstruct_key (ARGS_FROMSTRUCT)
static isc_result_t tostruct_key (ARGS_TOSTRUCT)
static void freestruct_key (ARGS_FREESTRUCT)
static isc_result_t additionaldata_key (ARGS_ADDLDATA)
static isc_result_t digest_key (ARGS_DIGEST)
static isc_boolean_t checkowner_key (ARGS_CHECKOWNER)
static isc_boolean_t checknames_key (ARGS_CHECKNAMES)
static int casecompare_key (ARGS_COMPARE)


Define Documentation

#define RRTYPE_KEY_ATTRIBUTES   (0)

Definition at line 31 of file key_25.c.


Function Documentation

static isc_result_t fromtext_key ( ARGS_FROMTEXT   )  [inline, static]

Definition at line 34 of file key_25.c.

References isc_tokenvalue_t::as_textregion, callbacks, dns_keyflags_fromtext(), dns_secalg_fromtext(), dns_secproto_fromtext(), DST_ALG_RSAMD5, isc_base64_tobuffer(), isc_buffer_usedlength, ISC_FALSE, isc_lex_getmastertoken(), ISC_R_SUCCESS, ISC_R_UNEXPECTEDEND, isc_tokentype_string, mem_tobuffer(), origin, rdclass, REQUIRE, RETERR, RETTOK, token, uint16_tobuffer(), UNUSED, and isc_token::value.

static isc_result_t totext_key ( ARGS_TOTEXT   )  [inline, static]

Definition at line 83 of file key_25.c.

References algorithm, isc_region::base, DNS_KEYALG_PRIVATEDNS, dns_name_format(), DNS_NAME_FORMATSIZE, dns_name_fromregion(), dns_name_init(), dns_rdata_toregion(), DNS_STYLEFLAG_MULTILINE, DNS_STYLEFLAG_RRCOMMENT, dst_region_computeid(), isc_base64_totext(), ISC_R_SUCCESS, isc_region_consume, name, namebuf, REQUIRE, RETERR, str_totext(), and uint16_fromregion().

static isc_result_t fromwire_key ( ARGS_FROMWIRE   )  [inline, static]

Definition at line 162 of file key_25.c.

References algorithm, isc_region::base, DNS_COMPRESS_NONE, dns_decompress_setmethods(), DNS_KEYALG_PRIVATEDNS, dns_name_fromwire(), dns_name_init(), DST_ALG_RSAMD5, isc_buffer_activeregion, isc_buffer_forward, ISC_R_UNEXPECTEDEND, isc_region_consume, isc_region::length, mem_tobuffer(), name, rdclass, REQUIRE, RETERR, and UNUSED.

static isc_result_t towire_key ( ARGS_TOWIRE   )  [inline, static]

Definition at line 203 of file key_25.c.

References isc_region::base, dns_rdata_toregion(), isc_region::length, mem_tobuffer(), REQUIRE, and UNUSED.

static int compare_key ( ARGS_COMPARE   )  [inline, static]

Definition at line 216 of file key_25.c.

References dns_rdata_toregion(), isc_region_compare(), r1, r2, and REQUIRE.

Referenced by casecompare_key().

static isc_result_t fromstruct_key ( ARGS_FROMSTRUCT   )  [inline, static]

Definition at line 232 of file key_25.c.

References key, mem_tobuffer(), rdclass, REQUIRE, RETERR, uint16_tobuffer(), uint8_tobuffer(), and UNUSED.

static isc_result_t tostruct_key ( ARGS_TOSTRUCT   )  [inline, static]

Definition at line 257 of file key_25.c.

References isc_region::base, dns_rdata_toregion(), ISC_LINK_INIT, ISC_R_NOMEMORY, ISC_R_SUCCESS, ISC_R_UNEXPECTEDEND, isc_region_consume, key, isc_region::length, mctx, mem_maybedup(), REQUIRE, uint16_fromregion(), and uint8_fromregion().

static void freestruct_key ( ARGS_FREESTRUCT   )  [inline, static]

Definition at line 300 of file key_25.c.

References isc_mem_free, key, and REQUIRE.

static isc_result_t additionaldata_key ( ARGS_ADDLDATA   )  [inline, static]

Definition at line 315 of file key_25.c.

References arg, ISC_R_SUCCESS, REQUIRE, and UNUSED.

static isc_result_t digest_key ( ARGS_DIGEST   )  [inline, static]

Definition at line 326 of file key_25.c.

References arg, digest, dns_rdata_toregion(), r, and REQUIRE.

static isc_boolean_t checkowner_key ( ARGS_CHECKOWNER   )  [inline, static]

Definition at line 337 of file key_25.c.

References ISC_TRUE, name, rdclass, REQUIRE, and UNUSED.

static isc_boolean_t checknames_key ( ARGS_CHECKNAMES   )  [inline, static]

Definition at line 350 of file key_25.c.

References ISC_TRUE, REQUIRE, and UNUSED.

static int casecompare_key ( ARGS_COMPARE   )  [inline, static]

Definition at line 362 of file key_25.c.

References compare_key().


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