#include <dst/dst.h>
Go to the source code of this file.
Defines | |
#define | RRTYPE_DNSKEY_ATTRIBUTES (DNS_RDATATYPEATTR_DNSSEC) |
Functions | |
static isc_result_t | fromtext_dnskey (ARGS_FROMTEXT) |
static isc_result_t | totext_dnskey (ARGS_TOTEXT) |
static isc_result_t | fromwire_dnskey (ARGS_FROMWIRE) |
static isc_result_t | towire_dnskey (ARGS_TOWIRE) |
static int | compare_dnskey (ARGS_COMPARE) |
static isc_result_t | fromstruct_dnskey (ARGS_FROMSTRUCT) |
static isc_result_t | tostruct_dnskey (ARGS_TOSTRUCT) |
static void | freestruct_dnskey (ARGS_FREESTRUCT) |
static isc_result_t | additionaldata_dnskey (ARGS_ADDLDATA) |
static isc_result_t | digest_dnskey (ARGS_DIGEST) |
static isc_boolean_t | checkowner_dnskey (ARGS_CHECKOWNER) |
static isc_boolean_t | checknames_dnskey (ARGS_CHECKNAMES) |
static int | casecompare_dnskey (ARGS_COMPARE) |
#define RRTYPE_DNSKEY_ATTRIBUTES (DNS_RDATATYPEATTR_DNSSEC) |
Definition at line 31 of file dnskey_48.c.
static isc_result_t fromtext_dnskey | ( | ARGS_FROMTEXT | ) | [inline, static] |
Definition at line 34 of file dnskey_48.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_dnskey | ( | ARGS_TOTEXT | ) | [inline, static] |
Definition at line 83 of file dnskey_48.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_dnskey | ( | ARGS_FROMWIRE | ) | [inline, static] |
Definition at line 179 of file dnskey_48.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_dnskey | ( | ARGS_TOWIRE | ) | [inline, static] |
Definition at line 220 of file dnskey_48.c.
References isc_region::base, dns_rdata_toregion(), isc_region::length, mem_tobuffer(), REQUIRE, and UNUSED.
static int compare_dnskey | ( | ARGS_COMPARE | ) | [inline, static] |
Definition at line 233 of file dnskey_48.c.
References dns_rdata_toregion(), isc_region_compare(), r1, r2, and REQUIRE.
Referenced by casecompare_dnskey().
static isc_result_t fromstruct_dnskey | ( | ARGS_FROMSTRUCT | ) | [inline, static] |
Definition at line 249 of file dnskey_48.c.
References mem_tobuffer(), rdclass, REQUIRE, RETERR, uint16_tobuffer(), uint8_tobuffer(), and UNUSED.
static isc_result_t tostruct_dnskey | ( | ARGS_TOSTRUCT | ) | [inline, static] |
Definition at line 274 of file dnskey_48.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_dnskey | ( | ARGS_FREESTRUCT | ) | [inline, static] |
static isc_result_t additionaldata_dnskey | ( | ARGS_ADDLDATA | ) | [inline, static] |
static isc_result_t digest_dnskey | ( | ARGS_DIGEST | ) | [inline, static] |
Definition at line 343 of file dnskey_48.c.
References arg, digest, dns_rdata_toregion(), r, and REQUIRE.
static isc_boolean_t checkowner_dnskey | ( | ARGS_CHECKOWNER | ) | [inline, static] |
static isc_boolean_t checknames_dnskey | ( | ARGS_CHECKNAMES | ) | [inline, static] |
static int casecompare_dnskey | ( | ARGS_COMPARE | ) | [inline, static] |