 |
Kea
1.5.0
|
Go to the documentation of this file.
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
boost::shared_ptr< TSIGRecord > TSIGRecordPtr
A pointer-like type pointing to a TSIGRecord object.
std::string toText() const
Convert the TSIG record to a string.
static const RRClass & getClass()
Return the RR class of TSIG.
The Rdata class is an abstract base class that provides a set of common interfaces to manipulate conc...
static const uint32_t TSIG_TTL
The TTL value to be used in TSIG RRs.
rdata::TSIG class represents the TSIG RDATA as defined in RFC2845.
The AbstractMessageRenderer class is an abstract base class that provides common interfaces for rende...
Defines the logger used by the top-level component of kea-dhcp-ddns.
ostream & operator<<(std::ostream &os, const EDNS &edns)
Insert the EDNS as a string into stream.
The Name class encapsulates DNS names.
The OutputBuffer class is a buffer abstraction for manipulating mutable data.
The RRTTL class encapsulates TTLs used in DNS resource records.
boost::shared_ptr< const TSIGRecord > ConstTSIGRecordPtr
A pointer-like type pointing to an immutable TSIGRecord object.
const Name & getName() const
Return the owner name of the TSIG RR, which is the TSIG key name.
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.
static const RRTTL & getTTL()
Return the TTL value of TSIG.
The RRClass class encapsulates DNS resource record classes.
const rdata::any::TSIG & getRdata() const
Return the RDATA of the TSIG RR.