![]() |
Kea
1.5.0
|
Authentication keys. More...
#include <host.h>
Public Member Functions | |
| AuthKey () | |
| Constructor. More... | |
| AuthKey (const std::string key) | |
| Constructor. More... | |
| std::string | getAuthKey () |
| return auth key More... | |
| bool | operator!= (const AuthKey &other) const |
| inequality operator More... | |
| bool | operator== (const AuthKey &other) const |
| equality operator More... | |
| void | setAuthKey (const std::string &key) |
| set auth key value More... | |
| std::string | ToText () const |
| return text format for keys More... | |
Static Public Member Functions | |
| static std::string | getRandomKeyString () |
| Random string is generated by default will be used for the keys to be used for signing Reconfigure Message. More... | |
Static Public Attributes | |
| static const uint8_t | KEY_LEN = 16 |
| Length of the key - 128 bits. More... | |
Authentication keys.
This class represents authentication keys to be used for calculating HMAC in the authentication field of the recofigure message
| isc::dhcp::AuthKey::AuthKey | ( | const std::string | key | ) |
| isc::dhcp::AuthKey::AuthKey | ( | ) |
|
inline |
|
static |
Random string is generated by default will be used for the keys to be used for signing Reconfigure Message.
Definition at line 34 of file host.cc.
References isc::cryptolink::random().
Here is the call graph for this function:| bool isc::dhcp::AuthKey::operator!= | ( | const AuthKey & | other | ) | const |
| bool isc::dhcp::AuthKey::operator== | ( | const AuthKey & | other | ) | const |
| void isc::dhcp::AuthKey::setAuthKey | ( | const std::string & | key | ) |
| std::string isc::dhcp::AuthKey::ToText | ( | ) | const |
return text format for keys
Although returning member would have sufficed this is added incase in future authkey is no longer std::string
Definition at line 43 of file host.cc.
Referenced by isc::dhcp::Host::toText().
|
static |