ffe74cc719aa0f10c38fbc1f2f3ea7db0960cb8fMark Andrews/*
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * Copyright (C) 1999-2001, 2004, 2005, 2007, 2016 Internet Systems Consortium, Inc. ("ISC")
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence *
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * This Source Code Form is subject to the terms of the Mozilla Public
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * License, v. 2.0. If a copy of the MPL was not distributed with this
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * file, You can obtain one at http://mozilla.org/MPL/2.0/.
ffe74cc719aa0f10c38fbc1f2f3ea7db0960cb8fMark Andrews */
ffe74cc719aa0f10c38fbc1f2f3ea7db0960cb8fMark Andrews
4be63b1fd8c18dbeca1648d6cf22fa14f057a469David Lawrence#ifndef GENERIC_SIG_24_H
4be63b1fd8c18dbeca1648d6cf22fa14f057a469David Lawrence#define GENERIC_SIG_24_H 1
4be63b1fd8c18dbeca1648d6cf22fa14f057a469David Lawrence
70e5a7403f0e0a3bd292b8287c5fed5772c15270Automatic Updater/* $Id: sig_24.h,v 1.26 2007/06/19 23:47:17 tbox Exp $ */
ffe74cc719aa0f10c38fbc1f2f3ea7db0960cb8fMark Andrews
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein/*!
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein * \brief Per RFC2535 */
ffe74cc719aa0f10c38fbc1f2f3ea7db0960cb8fMark Andrews
b8dd48ecf83142f6ee7238cbd68fec455e527fc8Mark Andrewstypedef struct dns_rdata_sig_t {
d8813e2ceee2f4adaf697931c2491de265ce5eb9Brian Wellington dns_rdatacommon_t common;
d8813e2ceee2f4adaf697931c2491de265ce5eb9Brian Wellington isc_mem_t * mctx;
d8813e2ceee2f4adaf697931c2491de265ce5eb9Brian Wellington dns_rdatatype_t covered;
d8813e2ceee2f4adaf697931c2491de265ce5eb9Brian Wellington dns_secalg_t algorithm;
d8813e2ceee2f4adaf697931c2491de265ce5eb9Brian Wellington isc_uint8_t labels;
d8813e2ceee2f4adaf697931c2491de265ce5eb9Brian Wellington isc_uint32_t originalttl;
d8813e2ceee2f4adaf697931c2491de265ce5eb9Brian Wellington isc_uint32_t timeexpire;
d8813e2ceee2f4adaf697931c2491de265ce5eb9Brian Wellington isc_uint32_t timesigned;
d8813e2ceee2f4adaf697931c2491de265ce5eb9Brian Wellington isc_uint16_t keyid;
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews dns_name_t signer;
d8813e2ceee2f4adaf697931c2491de265ce5eb9Brian Wellington isc_uint16_t siglen;
d8813e2ceee2f4adaf697931c2491de265ce5eb9Brian Wellington unsigned char * signature;
b8dd48ecf83142f6ee7238cbd68fec455e527fc8Mark Andrews} dns_rdata_sig_t;
d8813e2ceee2f4adaf697931c2491de265ce5eb9Brian Wellington
4be63b1fd8c18dbeca1648d6cf22fa14f057a469David Lawrence
4be63b1fd8c18dbeca1648d6cf22fa14f057a469David Lawrence#endif /* GENERIC_SIG_24_H */