2008-09-24 02:46:23 +00:00
|
|
|
/*
|
2018-02-23 09:53:12 +01:00
|
|
|
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
2008-09-24 02:46:23 +00:00
|
|
|
*
|
2016-06-27 14:56:38 +10:00
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2018-02-23 09:53:12 +01:00
|
|
|
*
|
|
|
|
* See the COPYRIGHT file distributed with this work for additional
|
|
|
|
* information regarding copyright ownership.
|
2008-09-24 02:46:23 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef GENERIC_NSEC3PARAM_51_H
|
|
|
|
#define GENERIC_NSEC3PARAM_51_H 1
|
|
|
|
|
|
|
|
/*!
|
|
|
|
* \brief Per RFC 5155 */
|
|
|
|
|
|
|
|
#include <isc/iterated_hash.h>
|
|
|
|
|
|
|
|
typedef struct dns_rdata_nsec3param {
|
2020-02-12 13:59:18 +01:00
|
|
|
dns_rdatacommon_t common;
|
2020-02-14 08:14:03 +01:00
|
|
|
isc_mem_t *mctx;
|
|
|
|
dns_hash_t hash;
|
|
|
|
unsigned char flags; /* DNS_NSEC3FLAG_* */
|
|
|
|
dns_iterations_t iterations;
|
|
|
|
unsigned char salt_length;
|
|
|
|
unsigned char *salt;
|
2008-09-24 02:46:23 +00:00
|
|
|
} dns_rdata_nsec3param_t;
|
|
|
|
|
|
|
|
#endif /* GENERIC_NSEC3PARAM_51_H */
|