13#include <boost/shared_ptr.hpp>
22class AbstractMessageRenderer;
267 std::string
toText()
const;
274 const Name key_name_;
276 const size_t length_;
The AbstractMessageRenderer class is an abstract base class that provides common interfaces for rende...
The Name class encapsulates DNS names.
The RRClass class encapsulates DNS resource record classes.
The RRTTL class encapsulates TTLs used in DNS resource records.
static const RRClass & getClass()
Return the RR class of TSIG.
static const uint32_t TSIG_TTL
The TTL value to be used in TSIG RRs.
TSIGRecord(const Name &key_name, const rdata::any::TSIG &tsig_rdata)
Constructor from TSIG key name and RDATA.
static const RRTTL & getTTL()
Return the TTL value of TSIG.
size_t getLength() const
Return the length of the TSIG record.
const Name & getName() const
Return the owner name of the TSIG RR, which is the TSIG key name.
std::string toText() const
Convert the TSIG record to a string.
const rdata::any::TSIG & getRdata() const
Return the RDATA of the TSIG RR.
uint32_t toWire(AbstractMessageRenderer &renderer) const
Render the TSIG RR in the wire format.
The Rdata class is an abstract base class that provides a set of common interfaces to manipulate conc...
rdata::TSIG class represents the TSIG RDATA as defined in RFC2845.
The OutputBuffer class is a buffer abstraction for manipulating mutable data.
boost::shared_ptr< const TSIGRecord > ConstTSIGRecordPtr
A pointer-like type pointing to an immutable TSIGRecord object.
ostream & operator<<(std::ostream &os, const EDNS &edns)
Insert the EDNS as a string into stream.
boost::shared_ptr< TSIGRecord > TSIGRecordPtr
A pointer-like type pointing to a TSIGRecord object.
Defines the logger used by the top-level component of kea-lfc.