12 #include <boost/shared_ptr.hpp> 
   40     Option6Auth(
const uint8_t proto, 
const uint8_t algo, 
const uint8_t method,
 
   41                 const uint64_t rdm, 
const std::vector<uint8_t>& 
info);
 
   74     virtual std::string 
toText(
int indent = 0) 
const;
 
boost::shared_ptr< Option6Auth > Option6AuthPtr
A pointer to the isc::dhcp::Option6Auth object. 
 
uint64_t rdm_value_
keeps replay detection method value 
 
uint8_t rdm_method_
keeps replay detection method type 
 
std::vector< uint8_t > getAuthInfo() const 
Return authentication information. 
 
boost::shared_ptr< Option > OptionPtr
 
Option6Auth(const uint8_t proto, const uint8_t algo, const uint8_t method, const uint64_t rdm, const std::vector< uint8_t > &info)
Constructor, used for auth options while transmitting. 
 
static const uint8_t OPTION6_AUTH_MIN_LEN
 
void setAuthInfo(const std::vector< uint8_t > &auth_info)
Set authentication information. 
 
void setReplyDetectionMethod(uint8_t method)
Set replay detection method type. 
 
virtual OptionPtr clone() const 
Copies this option and returns a pointer to the copy. 
 
std::vector< uint8_t > auth_info_
keeps authentication information 
 
void packHashInput(isc::util::OutputBuffer &buf) const 
Writes option in wire-format to buf, for computing hash auth info filled with 0 for a length of 128 b...
 
static const uint8_t OPTION6_HDR
 
uint8_t protocol_
keeps protocol type 
 
void setHashAlgo(uint8_t algo)
Set hash algorithm type. 
 
uint8_t getProtocol() const 
Returns protocol type. 
 
uint8_t algorithm_
keeps hash algorithm value 
 
void pack(isc::util::OutputBuffer &buf) const 
Writes option in wire-format to buf, returns pointer to first unused byte after stored option...
 
uint8_t getReplyDetectionMethod() const 
Returns replay detection method type. 
 
void setProtocol(uint8_t proto)
Set protocol type. 
 
The OutputBuffer class is a buffer abstraction for manipulating mutable data. 
 
OptionBuffer::const_iterator OptionBufferConstIter
const_iterator for walking over OptionBuffer 
 
virtual std::string toText(int indent=0) const 
Provides human readable text representation. 
 
Defines the logger used by the top-level component of kea-dhcp-ddns. 
 
uint8_t getHashAlgo() const 
Returns hash algorithm type. 
 
static const uint8_t OPTION6_HASH_MSG_LEN
 
This class represents Authentication (11) DHCPv6 option. 
 
virtual void unpack(OptionBufferConstIter begin, OptionBufferConstIter end)
Parses received buffer. 
 
uint64_t getReplyDetectionValue() const 
Return replay detection mechanism. 
 
void setReplyDetectionValue(uint64_t value)
Set replay detection method value.