xref: /netbsd-src/external/mpl/bind/dist/lib/dns/rdata/generic/tkey_249.h (revision eceb233b9bd0dfebb902ed73b531ae6964fa3f9b)
1 /*	$NetBSD: tkey_249.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_TKEY_249_H
15 #define GENERIC_TKEY_249_H 1
16 
17 /*!
18  *  \brief Per draft-ietf-dnsind-tkey-00.txt */
19 
20 typedef struct dns_rdata_tkey {
21 	dns_rdatacommon_t common;
22 	isc_mem_t *mctx;
23 	dns_name_t algorithm;
24 	uint32_t inception;
25 	uint32_t expire;
26 	uint16_t mode;
27 	uint16_t error;
28 	uint16_t keylen;
29 	unsigned char *key;
30 	uint16_t otherlen;
31 	unsigned char *other;
32 } dns_rdata_tkey_t;
33 
34 #endif /* GENERIC_TKEY_249_H */
35