Kea
1.9.9-git
|
The default NSEC3Hash creator. More...
#include <nsec3hash.h>
Public Member Functions | |
virtual NSEC3Hash * | create (const rdata::generic::NSEC3PARAM ¶m) const |
Factory method of NSECHash from NSEC3PARAM RDATA. More... | |
virtual NSEC3Hash * | create (const rdata::generic::NSEC3 &nsec3) const |
Factory method of NSECHash from NSEC3 RDATA. More... | |
virtual NSEC3Hash * | create (uint8_t algorithm, uint16_t iterations, const uint8_t *salt_data, size_t salt_length) const |
Factory method of NSECHash from args. More... | |
Public Member Functions inherited from isc::dns::NSEC3HashCreator | |
virtual | ~NSEC3HashCreator () |
The destructor. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from isc::dns::NSEC3HashCreator | |
NSEC3HashCreator () | |
The default constructor. More... | |
The default NSEC3Hash creator.
This derived class implements the NSEC3HashCreator
interfaces for the standard NSEC3 hash calculator as defined in RFC5155. The library will use this creator by default, so normal applications don't have to be aware of this class at all. This class is publicly visible for the convenience of special applications that want to customize the creator behavior for a particular type of parameters while preserving the default behavior for others.
Definition at line 258 of file nsec3hash.h.
|
virtual |
Factory method of NSECHash from NSEC3PARAM RDATA.
See NSEC3Hash::create(const rdata::generic::NSEC3PARAM& param)
Implements isc::dns::NSEC3HashCreator.
Definition at line 238 of file nsec3hash.cc.
References isc::dns::rdata::generic::NSEC3PARAM::getHashalg(), isc::dns::rdata::generic::NSEC3PARAM::getIterations(), and isc::dns::rdata::generic::NSEC3PARAM::getSalt().
|
virtual |
Factory method of NSECHash from NSEC3 RDATA.
See NSEC3Hash::create(const rdata::generic::NSEC3& param)
Implements isc::dns::NSEC3HashCreator.
Definition at line 246 of file nsec3hash.cc.
References isc::dns::rdata::generic::NSEC3::getHashalg(), isc::dns::rdata::generic::NSEC3::getIterations(), and isc::dns::rdata::generic::NSEC3::getSalt().
|
virtual |
Factory method of NSECHash from args.
See NSEC3Hash::create(uint8_t algorithm, uint16_t iterations, const uint8_t* salt_data, size_t salt_length)
algorithm | the NSEC3 algorithm to use; currently only 1 (SHA-1) is supported |
iterations | the number of iterations |
salt_data | the salt data as a byte array |
salt_length | the length of the salt data |
Implements isc::dns::NSEC3HashCreator.
Definition at line 254 of file nsec3hash.cc.