diff options
author | JINMEI Tatuya <jinmei@isc.org> | 2012-01-31 01:43:30 +0100 |
---|---|---|
committer | JINMEI Tatuya <jinmei@isc.org> | 2012-01-31 01:43:30 +0100 |
commit | 7af06f97cddc0ee6734a5302096ebad4539d1d59 (patch) | |
tree | d214dfd1a05de72c25bf21ee189012573495f9fd /src/lib/dns/nsec3hash.h | |
parent | [1574b] made sure Py_True/False gained refcount on return. (diff) | |
download | kea-7af06f97cddc0ee6734a5302096ebad4539d1d59.tar.xz kea-7af06f97cddc0ee6734a5302096ebad4539d1d59.zip |
[1574b] added another factory method, which creates NSEC3HASH from NSEC3 RDATA.
Diffstat (limited to 'src/lib/dns/nsec3hash.h')
-rw-r--r-- | src/lib/dns/nsec3hash.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/dns/nsec3hash.h b/src/lib/dns/nsec3hash.h index 02ff8837f7..e8967a0ac0 100644 --- a/src/lib/dns/nsec3hash.h +++ b/src/lib/dns/nsec3hash.h @@ -109,6 +109,12 @@ public: /// \return A pointer to a concrete derived object of \c NSEC3Hash. static NSEC3Hash* create(const rdata::generic::NSEC3PARAM& param); + /// \brief Factory method of NSECHash from NSEC3 RDATA. + /// + /// This is similar to the other version, but extracts the parameters + /// for hash calculation from an NSEC3 RDATA object. + static NSEC3Hash* create(const rdata::generic::NSEC3& nsec3); + /// \brief The destructor. virtual ~NSEC3Hash() {} |