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