mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 14:05:33 +00:00
[trac117] added a short note about the NSEC3BASE class
This commit is contained in:
@@ -92,7 +92,7 @@ NSEC3::NSEC3(const string& nsec3_str) :
|
|||||||
}
|
}
|
||||||
|
|
||||||
vector<uint8_t> salt;
|
vector<uint8_t> salt;
|
||||||
if (salthex != "-") { // "-" means an 0-length salt
|
if (salthex != "-") { // "-" means a 0-length salt
|
||||||
decodeHex(salthex, salt);
|
decodeHex(salthex, salt);
|
||||||
}
|
}
|
||||||
if (salt.size() > 255) {
|
if (salt.size() > 255) {
|
||||||
|
@@ -278,6 +278,9 @@ class TXT:
|
|||||||
wirestring_list[i]))
|
wirestring_list[i]))
|
||||||
|
|
||||||
class NSECBASE:
|
class NSECBASE:
|
||||||
|
'''Implements rendering NSEC/NSEC3 type bitmaps commonly used for
|
||||||
|
these RRs. The NSEC and NSEC3 classes will be inherited from this
|
||||||
|
class.'''
|
||||||
nbitmap = 1 # number of bitmaps
|
nbitmap = 1 # number of bitmaps
|
||||||
block = 0
|
block = 0
|
||||||
maplen = None # default bitmap length, auto-calculate
|
maplen = None # default bitmap length, auto-calculate
|
||||||
|
Reference in New Issue
Block a user