xref: /netbsd-src/external/mpl/bind/dist/lib/dns/rdata/generic/ds_43.h (revision f3cfa6f6ce31685c6c4a758bc430e69eb99f50a4)
1 /*	$NetBSD: ds_43.h,v 1.4 2019/04/28 00:01:14 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 
15 #ifndef GENERIC_DS_43_H
16 #define GENERIC_DS_43_H 1
17 
18 /*!
19  *  \brief per draft-ietf-dnsext-delegation-signer-05.txt */
20 typedef struct dns_rdata_ds {
21 	dns_rdatacommon_t	common;
22 	isc_mem_t		*mctx;
23 	uint16_t		key_tag;
24 	dns_secalg_t		algorithm;
25 	dns_dsdigest_t		digest_type;
26 	uint16_t		length;
27 	unsigned char		*digest;
28 } dns_rdata_ds_t;
29 
30 #endif /* GENERIC_DS_43_H */
31