test-syncres_cc.hh (pdns-recursor-4.5.5.tar.bz2) | : | test-syncres_cc.hh (pdns-recursor-4.5.6.tar.bz2) | ||
---|---|---|---|---|
skipping to change at line 62 | skipping to change at line 62 | |||
bool addRRSIG(const testkeysset_t& keys, std::vector<DNSRecord>& records, const DNSName& signer, uint32_t sigValidity, bool broken = false, boost::optional<uint 8_t> algo = boost::none, boost::optional<DNSName> wildcard = boost::none, boost: :optional<time_t> now = boost::none); | bool addRRSIG(const testkeysset_t& keys, std::vector<DNSRecord>& records, const DNSName& signer, uint32_t sigValidity, bool broken = false, boost::optional<uint 8_t> algo = boost::none, boost::optional<DNSName> wildcard = boost::none, boost: :optional<time_t> now = boost::none); | |||
void addDNSKEY(const testkeysset_t& keys, const DNSName& signer, uint32_t ttl, s td::vector<DNSRecord>& records); | void addDNSKEY(const testkeysset_t& keys, const DNSName& signer, uint32_t ttl, s td::vector<DNSRecord>& records); | |||
bool addDS(const DNSName& domain, uint32_t ttl, std::vector<DNSRecord>& records, const testkeysset_t& keys, DNSResourceRecord::Place place = DNSResourceRecord:: AUTHORITY); | bool addDS(const DNSName& domain, uint32_t ttl, std::vector<DNSRecord>& records, const testkeysset_t& keys, DNSResourceRecord::Place place = DNSResourceRecord:: AUTHORITY); | |||
void addNSECRecordToLW(const DNSName& domain, const DNSName& next, const std::se t<uint16_t>& types, uint32_t ttl, std::vector<DNSRecord>& records); | void addNSECRecordToLW(const DNSName& domain, const DNSName& next, const std::se t<uint16_t>& types, uint32_t ttl, std::vector<DNSRecord>& records); | |||
void addNSEC3RecordToLW(const DNSName& hashedName, const std::string& hashedNext , const std::string& salt, unsigned int iterations, const std::set<uint16_t>& ty pes, uint32_t ttl, std::vector<DNSRecord>& records, bool optOut = false); | void addNSEC3RecordToLW(const DNSName& hashedName, const std::string& hashedNext , const std::string& salt, unsigned int iterations, const std::set<uint16_t>& ty pes, uint32_t ttl, std::vector<DNSRecord>& records, bool optOut = false); | |||
/* Proves a NODATA (name exists, type does not) */ | ||||
void addNSEC3UnhashedRecordToLW(const DNSName& domain, const DNSName& zone, cons t std::string& next, const std::set<uint16_t>& types, uint32_t ttl, std::vector< DNSRecord>& records, unsigned int iterations = 10, bool optOut = false); | void addNSEC3UnhashedRecordToLW(const DNSName& domain, const DNSName& zone, cons t std::string& next, const std::set<uint16_t>& types, uint32_t ttl, std::vector< DNSRecord>& records, unsigned int iterations = 10, bool optOut = false); | |||
/* Proves a NODATA (name exists, type does not) and the next owner name is right | ||||
behind, so it should not prove anything else unless we are very unlucky */ | ||||
void addNSEC3NoDataNarrowRecordToLW(const DNSName& domain, const DNSName& zone, | ||||
const std::set<uint16_t>& types, uint32_t ttl, std::vector<DNSRecord>& records, | ||||
unsigned int iterations = 10, bool optOut = false); | ||||
/* Proves a NXDOMAIN (name does not exist) with the owner name right before, and | ||||
the next name right after, so it should not prove anything else unless we are v | ||||
ery unlucky */ | ||||
void addNSEC3NarrowRecordToLW(const DNSName& domain, const DNSName& zone, const std::set<uint16_t>& types, uint32_t ttl, std::vector<DNSRecord>& records, unsign ed int iterations = 10, bool OptOut = false); | void addNSEC3NarrowRecordToLW(const DNSName& domain, const DNSName& zone, const std::set<uint16_t>& types, uint32_t ttl, std::vector<DNSRecord>& records, unsign ed int iterations = 10, bool OptOut = false); | |||
void generateKeyMaterial(const DNSName& name, unsigned int algo, uint8_t digest, testkeysset_t& keys); | void generateKeyMaterial(const DNSName& name, unsigned int algo, uint8_t digest, testkeysset_t& keys); | |||
void generateKeyMaterial(const DNSName& name, unsigned int algo, uint8_t digest, testkeysset_t& keys, map<DNSName, dsmap_t>& dsAnchors); | void generateKeyMaterial(const DNSName& name, unsigned int algo, uint8_t digest, testkeysset_t& keys, map<DNSName, dsmap_t>& dsAnchors); | |||
LWResult::Result genericDSAndDNSKEYHandler(LWResult* res, const DNSName& domain, DNSName auth, int type, const testkeysset_t& keys, bool proveCut = true, boost: :optional<time_t> now = boost::none, bool nsec3 = false, bool optOut = false); | LWResult::Result genericDSAndDNSKEYHandler(LWResult* res, const DNSName& domain, DNSName auth, int type, const testkeysset_t& keys, bool proveCut = true, boost: :optional<time_t> now = boost::none, bool nsec3 = false, bool optOut = false); | |||
LWResult::Result basicRecordsForQnameMinimization(LWResult* res, const DNSName& domain, int type); | LWResult::Result basicRecordsForQnameMinimization(LWResult* res, const DNSName& domain, int type); | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 10 lines changed or added |