xref: /netbsd-src/external/mpl/bind/dist/lib/dns/rdata/generic/rrsig_46.h (revision 154bfe8e089c1a0a4e9ed8414f08d3da90949162)
1 /*	$NetBSD: rrsig_46.h,v 1.4 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_DNSSIG_46_H
15 #define GENERIC_DNSSIG_46_H 1
16 
17 /*!
18  *  \brief Per RFC2535 */
19 typedef struct dns_rdata_rrsig {
20 	dns_rdatacommon_t common;
21 	isc_mem_t *mctx;
22 	dns_rdatatype_t covered;
23 	dns_secalg_t algorithm;
24 	uint8_t labels;
25 	uint32_t originalttl;
26 	uint32_t timeexpire;
27 	uint32_t timesigned;
28 	uint16_t keyid;
29 	dns_name_t signer;
30 	uint16_t siglen;
31 	unsigned char *signature;
32 } dns_rdata_rrsig_t;
33 
34 #endif /* GENERIC_DNSSIG_46_H */
35