cert_37.c File Reference

Go to the source code of this file.

Defines

#define RRTYPE_CERT_ATTRIBUTES   (0)

Functions

static isc_result_t fromtext_cert (ARGS_FROMTEXT)
static isc_result_t totext_cert (ARGS_TOTEXT)
static isc_result_t fromwire_cert (ARGS_FROMWIRE)
static isc_result_t towire_cert (ARGS_TOWIRE)
static int compare_cert (ARGS_COMPARE)
static isc_result_t fromstruct_cert (ARGS_FROMSTRUCT)
static isc_result_t tostruct_cert (ARGS_TOSTRUCT)
static void freestruct_cert (ARGS_FREESTRUCT)
static isc_result_t additionaldata_cert (ARGS_ADDLDATA)
static isc_result_t digest_cert (ARGS_DIGEST)
static isc_boolean_t checkowner_cert (ARGS_CHECKOWNER)
static isc_boolean_t checknames_cert (ARGS_CHECKNAMES)
static int casecompare_cert (ARGS_COMPARE)


Define Documentation

#define RRTYPE_CERT_ATTRIBUTES   (0)

Definition at line 27 of file cert_37.c.


Function Documentation

static isc_result_t fromtext_cert ( ARGS_FROMTEXT   )  [inline, static]

Definition at line 30 of file cert_37.c.

References isc_tokenvalue_t::as_textregion, isc_tokenvalue_t::as_ulong, callbacks, dns_cert_fromtext(), dns_secalg_fromtext(), isc_base64_tobuffer(), ISC_FALSE, isc_lex_getmastertoken(), ISC_R_RANGE, isc_tokentype_number, isc_tokentype_string, mem_tobuffer(), origin, rdclass, REQUIRE, RETERR, RETTOK, token, uint16_tobuffer(), UNUSED, and isc_token::value.

static isc_result_t totext_cert ( ARGS_TOTEXT   )  [inline, static]

Definition at line 72 of file cert_37.c.

References isc_region::base, dns_cert_totext(), dns_rdata_toregion(), dns_secalg_totext(), DNS_STYLEFLAG_MULTILINE, isc_base64_totext(), ISC_R_SUCCESS, isc_region_consume, REQUIRE, RETERR, str_totext(), uint16_fromregion(), and UNUSED.

static isc_result_t fromwire_cert ( ARGS_FROMWIRE   )  [inline, static]

Definition at line 123 of file cert_37.c.

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

static isc_result_t towire_cert ( ARGS_TOWIRE   )  [inline, static]

Definition at line 142 of file cert_37.c.

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

static int compare_cert ( ARGS_COMPARE   )  [inline, static]

Definition at line 155 of file cert_37.c.

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

Referenced by casecompare_cert().

static isc_result_t fromstruct_cert ( ARGS_FROMSTRUCT   )  [inline, static]

Definition at line 171 of file cert_37.c.

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

static isc_result_t tostruct_cert ( ARGS_TOSTRUCT   )  [inline, static]

Definition at line 190 of file cert_37.c.

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

static void freestruct_cert ( ARGS_FREESTRUCT   )  [inline, static]

Definition at line 221 of file cert_37.c.

References isc_mem_free, and REQUIRE.

static isc_result_t additionaldata_cert ( ARGS_ADDLDATA   )  [inline, static]

Definition at line 236 of file cert_37.c.

References arg, ISC_R_SUCCESS, REQUIRE, and UNUSED.

static isc_result_t digest_cert ( ARGS_DIGEST   )  [inline, static]

Definition at line 247 of file cert_37.c.

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

static isc_boolean_t checkowner_cert ( ARGS_CHECKOWNER   )  [inline, static]

Definition at line 258 of file cert_37.c.

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

static isc_boolean_t checknames_cert ( ARGS_CHECKNAMES   )  [inline, static]

Definition at line 271 of file cert_37.c.

References ISC_TRUE, REQUIRE, and UNUSED.

static int casecompare_cert ( ARGS_COMPARE   )  [inline, static]

Definition at line 284 of file cert_37.c.

References compare_cert().


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