2
0
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:
JINMEI Tatuya
2011-02-16 16:24:35 -08:00
parent cf0dac64cd
commit 17832da870
2 changed files with 4 additions and 1 deletions

View File

@@ -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) {

View File

@@ -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