#include <exceptions/exceptions.h>
#include <util/buffer.h>
+#include <util/encode/hex.h>
#include <dns/exceptions.h>
#include <dns/messagerenderer.h>
#include <dns/rdata.h>
stringbuf digestbuf;
iss >> &digestbuf;
- decodeHex(digestbuf.str(), digest_);
+ isc::util::encode::decodeHex(digestbuf.str(), digest_);
// RFC4701 states DNS software should consider the RDATA section to
// be opaque, but there must be at least three bytes in the data:
/// \return A string representation of \c DHCID.
string
DHCID::toText() const {
- return (encodeHex(digest_));
+ return (isc::util::encode::encodeHex(digest_));
}
/// \brief Compare two instances of \c DHCID RDATA.