#include <dst/dst.h>
Go to the source code of this file.
Defines | |
#define | RRTYPE_CDNSKEY_ATTRIBUTES 0 |
Functions | |
static isc_result_t | fromtext_cdnskey (ARGS_FROMTEXT) |
static isc_result_t | totext_cdnskey (ARGS_TOTEXT) |
static isc_result_t | fromwire_cdnskey (ARGS_FROMWIRE) |
static isc_result_t | towire_cdnskey (ARGS_TOWIRE) |
static int | compare_cdnskey (ARGS_COMPARE) |
static isc_result_t | fromstruct_cdnskey (ARGS_FROMSTRUCT) |
static isc_result_t | tostruct_cdnskey (ARGS_TOSTRUCT) |
static void | freestruct_cdnskey (ARGS_FREESTRUCT) |
static isc_result_t | additionaldata_cdnskey (ARGS_ADDLDATA) |
static isc_result_t | digest_cdnskey (ARGS_DIGEST) |
static isc_boolean_t | checkowner_cdnskey (ARGS_CHECKOWNER) |
static isc_boolean_t | checknames_cdnskey (ARGS_CHECKNAMES) |
static int | casecompare_cdnskey (ARGS_COMPARE) |
#define RRTYPE_CDNSKEY_ATTRIBUTES 0 |
Definition at line 24 of file cdnskey_60.c.
static isc_result_t fromtext_cdnskey | ( | ARGS_FROMTEXT | ) | [inline, static] |
Definition at line 27 of file cdnskey_60.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_cdnskey | ( | ARGS_TOTEXT | ) | [inline, static] |
Definition at line 76 of file cdnskey_60.c.
References algorithm, isc_region::base, DNS_KEYALG_PRIVATEDNS, DNS_KEYFLAG_KSK, DNS_KEYFLAG_REVOKE, dns_name_format(), DNS_NAME_FORMATSIZE, dns_name_fromregion(), dns_name_init(), dns_rdata_toregion(), dns_secalg_format(), DNS_STYLEFLAG_MULTILINE, DNS_STYLEFLAG_NOCRYPTO, DNS_STYLEFLAG_RRCOMMENT, dst_region_computeid(), isc_base64_totext(), ISC_R_SUCCESS, isc_region_consume, name, REQUIRE, RETERR, str_totext(), and uint16_fromregion().
static isc_result_t fromwire_cdnskey | ( | ARGS_FROMWIRE | ) | [inline, static] |
Definition at line 172 of file cdnskey_60.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_cdnskey | ( | ARGS_TOWIRE | ) | [inline, static] |
Definition at line 213 of file cdnskey_60.c.
References isc_region::base, dns_rdata_toregion(), isc_region::length, mem_tobuffer(), REQUIRE, and UNUSED.
static int compare_cdnskey | ( | ARGS_COMPARE | ) | [inline, static] |
Definition at line 226 of file cdnskey_60.c.
References dns_rdata_toregion(), isc_region_compare(), r1, r2, and REQUIRE.
Referenced by casecompare_cdnskey().
static isc_result_t fromstruct_cdnskey | ( | ARGS_FROMSTRUCT | ) | [inline, static] |
Definition at line 242 of file cdnskey_60.c.
References mem_tobuffer(), rdclass, REQUIRE, RETERR, uint16_tobuffer(), uint8_tobuffer(), and UNUSED.
static isc_result_t tostruct_cdnskey | ( | ARGS_TOSTRUCT | ) | [inline, static] |
Definition at line 267 of file cdnskey_60.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(), and uint8_fromregion().
static void freestruct_cdnskey | ( | ARGS_FREESTRUCT | ) | [inline, static] |
static isc_result_t additionaldata_cdnskey | ( | ARGS_ADDLDATA | ) | [inline, static] |
static isc_result_t digest_cdnskey | ( | ARGS_DIGEST | ) | [inline, static] |
Definition at line 336 of file cdnskey_60.c.
References arg, digest, dns_rdata_toregion(), r, and REQUIRE.
static isc_boolean_t checkowner_cdnskey | ( | ARGS_CHECKOWNER | ) | [inline, static] |
static isc_boolean_t checknames_cdnskey | ( | ARGS_CHECKNAMES | ) | [inline, static] |
static int casecompare_cdnskey | ( | ARGS_COMPARE | ) | [inline, static] |