zonekey.c File Reference

#include <config.h>
#include <isc/result.h>
#include <isc/types.h>
#include <isc/util.h>
#include <dns/keyvalues.h>
#include <dns/rdata.h>
#include <dns/rdatastruct.h>
#include <dns/types.h>
#include <dns/zonekey.h>

Go to the source code of this file.

Functions

isc_boolean_t dns_zonekey_iszonekey (dns_rdata_t *keyrdata)
 Determines if the key record contained in the rdata is a zone key.


Detailed Description

Definition in file zonekey.c.


Function Documentation

isc_boolean_t dns_zonekey_iszonekey ( dns_rdata_t keyrdata  ) 

Determines if the key record contained in the rdata is a zone key.

Requires: 'keyrdata' is not NULL.

Definition at line 35 of file zonekey.c.

References DNS_KEYFLAG_OWNERMASK, DNS_KEYOWNER_ZONE, DNS_KEYPROTO_ANY, DNS_KEYPROTO_DNSSEC, DNS_KEYTYPE_NOAUTH, dns_rdata_tostruct(), ISC_FALSE, ISC_R_SUCCESS, ISC_TRUE, iszonekey(), key, and REQUIRE.

Referenced by iszonesecure().


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