1193141Sdougb/* 2193141Sdougb * Copyright (C) 2008 Internet Systems Consortium, Inc. ("ISC") 3193141Sdougb * 4193141Sdougb * Permission to use, copy, modify, and/or distribute this software for any 5193141Sdougb * purpose with or without fee is hereby granted, provided that the above 6193141Sdougb * copyright notice and this permission notice appear in all copies. 7193141Sdougb * 8193141Sdougb * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 9193141Sdougb * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 10193141Sdougb * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 11193141Sdougb * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 12193141Sdougb * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 13193141Sdougb * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 14193141Sdougb * PERFORMANCE OF THIS SOFTWARE. 15193141Sdougb */ 16193141Sdougb 17193141Sdougb 18193141Sdougb#ifndef GENERIC_NSEC3PARAM_51_H 19193141Sdougb#define GENERIC_NSEC3PARAM_51_H 1 20193141Sdougb 21234010Sdougb/* $Id: nsec3param_51.h,v 1.4 2008/09/25 04:02:39 tbox Exp $ */ 22193141Sdougb 23193141Sdougb/*! 24193141Sdougb * \brief Per RFC 5155 */ 25193141Sdougb 26193141Sdougb#include <isc/iterated_hash.h> 27193141Sdougb 28193141Sdougbtypedef struct dns_rdata_nsec3param { 29193141Sdougb dns_rdatacommon_t common; 30193141Sdougb isc_mem_t *mctx; 31193141Sdougb dns_hash_t hash; 32193141Sdougb unsigned char flags; /* DNS_NSEC3FLAG_* */ 33193141Sdougb dns_iterations_t iterations; 34193141Sdougb unsigned char salt_length; 35193141Sdougb unsigned char *salt; 36193141Sdougb} dns_rdata_nsec3param_t; 37193141Sdougb 38193141Sdougb#endif /* GENERIC_NSEC3PARAM_51_H */ 39