120 const uint8_t* salt_data,
size_t salt_length);
245 const uint8_t* salt_data,
size_t salt_length)
263 const uint8_t* salt_data,
264 size_t salt_length)
const;
286 #endif // NSEC3HASH_H
The Name class encapsulates DNS names.
void setNSEC3HashCreator(const NSEC3HashCreator *new_creator)
The registrar of NSEC3HashCreator.
virtual std::string calculate(const Name &name) const =0
Calculate the NSEC3 hash (Name variant).
A calculator of NSEC3 hashes.
virtual NSEC3Hash * create(const rdata::generic::NSEC3PARAM &nsec3param) const =0
Factory method of NSECHash from NSEC3PARAM RDATA.
An exception that is thrown for when an NSEC3Hash object is constructed with an unknown hash algorith...
virtual bool match(const rdata::generic::NSEC3 &nsec3) const =0
Match given NSEC3 parameters with that of the hash.
Factory class of NSEC3Hash.
virtual const char * what() const
Returns a C-style character string of the cause of the exception.
NSEC3Hash()
The default constructor.
This is a base class for exceptions thrown from the DNS library module.
Defines the logger used by the top-level component of kea-dhcp-ddns.
UnknownNSEC3HashAlgorithm(const char *file, size_t line, const char *what)
The default NSEC3Hash creator.
virtual ~NSEC3Hash()
The destructor.
static NSEC3Hash * create(const rdata::generic::NSEC3PARAM ¶m)
Factory method of NSECHash from NSEC3PARAM RDATA.
NSEC3HashCreator()
The default constructor.
virtual ~NSEC3HashCreator()
The destructor.
Light-weight Accessor to Name data.
virtual NSEC3Hash * create(const rdata::generic::NSEC3PARAM ¶m) const
Factory method of NSECHash from NSEC3PARAM RDATA.