sshfp_44.h revision 1.5
1/*	$NetBSD: sshfp_44.h,v 1.5 2021/02/19 16:42:17 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 https://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 *  \brief Per RFC 4255 */
16
17#ifndef GENERIC_SSHFP_44_H
18#define GENERIC_SSHFP_44_H 1
19
20typedef struct dns_rdata_sshfp {
21	dns_rdatacommon_t common;
22	isc_mem_t *mctx;
23	uint8_t algorithm;
24	uint8_t digest_type;
25	uint16_t length;
26	unsigned char *digest;
27} dns_rdata_sshfp_t;
28
29#endif /* GENERIC_SSHFP_44_H */
30