 |
Kea
1.5.0
|
Go to the documentation of this file.
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
An exception that is thrown for when an NSEC3Hash object is constructed with an unknown hash algorith...
virtual NSEC3Hash * create(const rdata::generic::NSEC3PARAM ¶m) const
Factory method of NSECHash from NSEC3PARAM RDATA.
virtual NSEC3Hash * create(uint8_t algorithm, uint16_t iterations, const uint8_t *salt_data, size_t salt_length) const =0
Factory method of NSECHash from args.
A calculator of NSEC3 hashes.
NSEC3Hash()
The default constructor.
virtual std::string calculate(const Name &name) const =0
Calculate the NSEC3 hash (Name variant).
NSEC3HashCreator()
The default constructor.
void setNSEC3HashCreator(const NSEC3HashCreator *new_creator)
The registrar of NSEC3HashCreator.
Factory class of NSEC3Hash.
virtual NSEC3Hash * create(const rdata::generic::NSEC3PARAM &nsec3param) const =0
Factory method of NSECHash from NSEC3PARAM RDATA.
virtual bool match(const rdata::generic::NSEC3 &nsec3) const =0
Match given NSEC3 parameters with that of the hash.
UnknownNSEC3HashAlgorithm(const char *file, size_t line, const char *what)
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.
virtual const char * what() const
Returns a C-style character string of the cause of the exception.
The default NSEC3Hash creator.
The Name class encapsulates DNS names.
static NSEC3Hash * create(const rdata::generic::NSEC3PARAM ¶m)
Factory method of NSECHash from NSEC3PARAM RDATA.
virtual ~NSEC3Hash()
The destructor.
virtual NSEC3Hash * create(const rdata::generic::NSEC3 &nsec3) const =0
Factory method of NSECHash from NSEC3 RDATA.
virtual bool match(const rdata::generic::NSEC3PARAM &nsec3param) const =0
Match given NSEC3PARAM parameters with that of the hash.
virtual ~NSEC3HashCreator()
The destructor.
virtual std::string calculate(const LabelSequence &ls) const =0
Calculate the NSEC3 hash (LabelSequence variant).
Light-weight Accessor to Name data.