1 /*	$NetBSD: nsec3param_51.h,v 1.4 2014/12/10 04:37:59 christos Exp $	*/
2 
3 /*
4  * Copyright (C) 2008  Internet Systems Consortium, Inc. ("ISC")
5  *
6  * Permission to use, copy, modify, and/or distribute this software for any
7  * purpose with or without fee is hereby granted, provided that the above
8  * copyright notice and this permission notice appear in all copies.
9  *
10  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
11  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
12  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
13  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
14  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
15  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16  * PERFORMANCE OF THIS SOFTWARE.
17  */
18 
19 
20 #ifndef GENERIC_NSEC3PARAM_51_H
21 #define GENERIC_NSEC3PARAM_51_H 1
22 
23 /* Id: nsec3param_51.h,v 1.4 2008/09/25 04:02:39 tbox Exp  */
24 
25 /*!
26  * \brief Per RFC 5155 */
27 
28 #include <isc/iterated_hash.h>
29 
30 typedef struct dns_rdata_nsec3param {
31 	dns_rdatacommon_t	common;
32 	isc_mem_t		*mctx;
33 	dns_hash_t		hash;
34 	unsigned char		flags;		/* DNS_NSEC3FLAG_* */
35 	dns_iterations_t	iterations;
36 	unsigned char		salt_length;
37 	unsigned char		*salt;
38 } dns_rdata_nsec3param_t;
39 
40 #endif /* GENERIC_NSEC3PARAM_51_H */
41