keydata_65533.c File Reference

#include <isc/time.h>
#include <isc/stdtime.h>
#include <dst/dst.h>

Go to the source code of this file.

Defines

#define GENERIC_KEYDATA_65533_C   1
#define RRTYPE_KEYDATA_ATTRIBUTES   (0)

Functions

static isc_result_t fromtext_keydata (ARGS_FROMTEXT)
static isc_result_t totext_keydata (ARGS_TOTEXT)
static isc_result_t fromwire_keydata (ARGS_FROMWIRE)
static isc_result_t towire_keydata (ARGS_TOWIRE)
static int compare_keydata (ARGS_COMPARE)
static isc_result_t fromstruct_keydata (ARGS_FROMSTRUCT)
static isc_result_t tostruct_keydata (ARGS_TOSTRUCT)
static void freestruct_keydata (ARGS_FREESTRUCT)
static isc_result_t additionaldata_keydata (ARGS_ADDLDATA)
static isc_result_t digest_keydata (ARGS_DIGEST)
static isc_boolean_t checkowner_keydata (ARGS_CHECKOWNER)
static isc_boolean_t checknames_keydata (ARGS_CHECKNAMES)
static int casecompare_keydata (ARGS_COMPARE)


Define Documentation

#define GENERIC_KEYDATA_65533_C   1

Definition at line 18 of file keydata_65533.c.

#define RRTYPE_KEYDATA_ATTRIBUTES   (0)

Definition at line 25 of file keydata_65533.c.


Function Documentation

static isc_result_t fromtext_keydata ( ARGS_FROMTEXT   )  [inline, static]

Definition at line 28 of file keydata_65533.c.

References isc_tokenvalue_t::as_textregion, callbacks, DNS_AS_STR, dns_keyflags_fromtext(), dns_secalg_fromtext(), dns_secproto_fromtext(), dns_time32_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(), uint32_tobuffer(), UNUSED, and isc_token::value.

static isc_result_t totext_keydata ( ARGS_TOTEXT   )  [inline, static]

Definition at line 96 of file keydata_65533.c.

References algorithm, isc_region::base, DNS_KEYFLAG_KSK, DNS_KEYFLAG_REVOKE, DNS_NAME_FORMATSIZE, dns_rdata_toregion(), dns_secalg_format(), DNS_STYLEFLAG_KEYDATA, DNS_STYLEFLAG_MULTILINE, DNS_STYLEFLAG_RRCOMMENT, dns_time32_totext(), dst_region_computeid(), isc_base64_totext(), ISC_FORMATHTTPTIMESTAMP_SIZE, ISC_R_SUCCESS, isc_region_consume, isc_stdtime_get(), isc_time_formathttptimestamp(), isc_time_set(), now, REQUIRE, RETERR, str_totext(), uint16_fromregion(), uint32_fromregion(), and unknown_totext().

static isc_result_t fromwire_keydata ( ARGS_FROMWIRE   )  [inline, static]

Definition at line 243 of file keydata_65533.c.

References isc_region::base, isc_buffer_activeregion, isc_buffer_forward, isc_region::length, mem_tobuffer(), rdclass, REQUIRE, and UNUSED.

static isc_result_t towire_keydata ( ARGS_TOWIRE   )  [inline, static]

Definition at line 259 of file keydata_65533.c.

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

static int compare_keydata ( ARGS_COMPARE   )  [inline, static]

Definition at line 271 of file keydata_65533.c.

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

Referenced by casecompare_keydata().

static isc_result_t fromstruct_keydata ( ARGS_FROMSTRUCT   )  [inline, static]

Definition at line 285 of file keydata_65533.c.

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

static isc_result_t tostruct_keydata ( ARGS_TOSTRUCT   )  [inline, static]

Definition at line 319 of file keydata_65533.c.

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

static void freestruct_keydata ( ARGS_FREESTRUCT   )  [inline, static]

Definition at line 379 of file keydata_65533.c.

References isc_mem_free, and REQUIRE.

static isc_result_t additionaldata_keydata ( ARGS_ADDLDATA   )  [inline, static]

Definition at line 394 of file keydata_65533.c.

References arg, ISC_R_SUCCESS, REQUIRE, and UNUSED.

static isc_result_t digest_keydata ( ARGS_DIGEST   )  [inline, static]

Definition at line 405 of file keydata_65533.c.

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

static isc_boolean_t checkowner_keydata ( ARGS_CHECKOWNER   )  [inline, static]

Definition at line 416 of file keydata_65533.c.

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

static isc_boolean_t checknames_keydata ( ARGS_CHECKNAMES   )  [inline, static]

Definition at line 429 of file keydata_65533.c.

References ISC_TRUE, REQUIRE, and UNUSED.

static int casecompare_keydata ( ARGS_COMPARE   )  [inline, static]

Definition at line 441 of file keydata_65533.c.

References compare_keydata().


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