/*
* Copyright (C) 2008, 2012 Internet Systems Consortium, Inc. ("ISC")
*
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/
#ifndef GENERIC_NSEC3_50_H
/* $Id$ */
/*!
* \brief Per RFC 5155 */
#include <isc/iterated_hash.h>
typedef struct dns_rdata_nsec3 {
unsigned char flags;
unsigned char salt_length;
unsigned char next_length;
unsigned char *salt;
unsigned char *next;
unsigned char *typebits;
/*
* The corresponding NSEC3 interval is OPTOUT indicating possible
* insecure delegations.
*/
/*%
* Non-standard, NSEC3PARAM only.
*
* Create a corresponding NSEC3 chain.
* Once the NSEC3 chain is complete this flag will be removed to signal
* that there is a complete chain.
*
* This flag is automatically set when a NSEC3PARAM record is added to
* the zone via UPDATE.
*
* NSEC3PARAM records with this flag set are supposed to be ignored by
* RFC 5155 compliant nameservers.
*/
/*%
* Non-standard, NSEC3PARAM only.
*
* The corresponding NSEC3 set is to be removed once the NSEC chain
* has been generated.
*
* This flag is automatically set when the last active NSEC3PARAM record
* is removed from the zone via UPDATE.
*
* NSEC3PARAM records with this flag set are supposed to be ignored by
* RFC 5155 compliant nameservers.
*/
/*%
* Non-standard, NSEC3PARAM only.
*
* Used to identify NSEC3PARAM records added in this UPDATE request.
*/
/*%
* Non-standard, NSEC3PARAM only.
*
* Prevent the creation of a NSEC chain before the last NSEC3 chain
* is removed. This will normally only be set when the zone is
* transitioning from secure with NSEC3 chains to insecure.
*/
#endif /* GENERIC_NSEC3_50_H */