xref: /netbsd-src/external/mpl/bind/dist/lib/dns/rdata/generic/nsec3param_51.h (revision d90047b5d07facf36e6c01dcc0bded8997ce9cc2)
1 /*	$NetBSD: nsec3param_51.h,v 1.3 2020/05/24 19:46:24 christos Exp $	*/
2 
3 /*
4  * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
5  *
6  * This Source Code Form is subject to the terms of the Mozilla Public
7  * License, v. 2.0. If a copy of the MPL was not distributed with this
8  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9  *
10  * See the COPYRIGHT file distributed with this work for additional
11  * information regarding copyright ownership.
12  */
13 
14 #ifndef GENERIC_NSEC3PARAM_51_H
15 #define GENERIC_NSEC3PARAM_51_H 1
16 
17 /*!
18  * \brief Per RFC 5155 */
19 
20 #include <isc/iterated_hash.h>
21 
22 typedef struct dns_rdata_nsec3param {
23 	dns_rdatacommon_t common;
24 	isc_mem_t *mctx;
25 	dns_hash_t hash;
26 	unsigned char flags; /* DNS_NSEC3FLAG_* */
27 	dns_iterations_t iterations;
28 	unsigned char salt_length;
29 	unsigned char *salt;
30 } dns_rdata_nsec3param_t;
31 
32 #endif /* GENERIC_NSEC3PARAM_51_H */
33