27 const void* secret,
size_t secret_len,
size_t digestbits)
28 :
TSIGKey(key_name, algorithm_name, secret, secret_len, digestbits) {
37D2TsigKey::initStats() {
40 for (
auto const& name :
D2Stats::key) {
42 stats_mgr.setValue(sname,
static_cast<int64_t
>(0));
47D2TsigKey::removeStats() {
50 for (
auto const& name : D2Stats::key) {
62 stats_mgr.reset(sname);
static const std::list< std::string > key
Key DNS update statistics names.
D2TsigKey(const std::string &key_spec)
Constructor.
virtual void resetStats()
Reset statistics.
virtual dns::TSIGContextPtr createContext()
Create TSIG context.
virtual ~D2TsigKey()
Destructor.
The Name class encapsulates DNS names.
const Name & getKeyName() const
Getter Methods.
Statistics Manager class.
static StatsMgr & instance()
Statistics Manager accessor method.
static std::string generateName(const std::string &context, Type index, const std::string &stat_name)
Generates statistic name in a given context.
boost::shared_ptr< TSIGContext > TSIGContextPtr
Defines the logger used by the top-level component of kea-lfc.