1 /* $NetBSD: key_25.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 #ifndef GENERIC_KEY_25_H 15 #define GENERIC_KEY_25_H 1 16 17 18 /*! 19 * \brief Per RFC2535 */ 20 21 typedef struct dns_rdata_key { 22 dns_rdatacommon_t common; 23 isc_mem_t * mctx; 24 uint16_t flags; 25 dns_secproto_t protocol; 26 dns_secalg_t algorithm; 27 uint16_t datalen; 28 unsigned char * data; 29 } dns_rdata_key_t; 30 31 32 #endif /* GENERIC_KEY_25_H */ 33