/bind-9.11.3/lib/dns/tests/ |
H A D | rdataset_test.c | 38 dns_rdata_rrsig_t rrsig; local 54 rrsig.timeexpire = ttltimeexpire; 55 rrsig.originalttl = 1000; 57 dns_rdataset_trimttl(&rdataset, &sigrdataset, &rrsig, ttltimenow, 64 rrsig.timeexpire = ttltimenow - 200; 65 rrsig.originalttl = 1000; 67 dns_rdataset_trimttl(&rdataset, &sigrdataset, &rrsig, ttltimenow, 74 rrsig.timeexpire = ttltimenow - 200; 75 rrsig.originalttl = 1000; 77 dns_rdataset_trimttl(&rdataset, &sigrdataset, &rrsig, ttltimeno [all...] |
H A D | dbversion_test.c | 616 dns_rdata_rrsig_t rrsig; local 634 DNS_RDATACOMMON_INIT(&rrsig, dns_rdatatype_rrsig, dns_rdataclass_in); 635 rrsig.covered = dns_rdatatype_a; 636 rrsig.algorithm = 100; 637 rrsig.labels = 0; 638 rrsig.originalttl = 0; 639 rrsig.timeexpire = 3600; 640 rrsig.timesigned = 0; 641 rrsig.keyid = 0; 642 dns_name_init(&rrsig [all...] |
/bind-9.11.3/bin/tests/system/dnssec/ns7/ |
H A D | sign.sh | 14 zone=split-rrsig 15 infile=split-rrsig.db.in 16 zonefile=split-rrsig.db
|
/bind-9.11.3/bin/tests/system/chain/ans4/ |
H A D | ans.py | 176 rrsig = 'CNAME 5 3 %d %s %s 12345 %s %s' % \ 179 sigs.append(dns.rrset.from_text(owner, ttl, IN, RRSIG, rrsig)) 191 rrsig = 'CNAME 5 3 %d %s %s 12345 %s %s' % \ 194 sigs.append(dns.rrset.from_text(owner, ttl, IN, RRSIG, rrsig)) 204 rrsig = 'DNAME 5 3 %d %s %s 12345 %s %s' % \ 207 sigs.append(dns.rrset.from_text(owner, ttl, IN, RRSIG, rrsig)) 212 rrsig = 'CNAME 5 3 %d %s %s 12345 %s %s' % \ 215 sigs.append(dns.rrset.from_text(owner, ttl, IN, RRSIG, rrsig)) 222 rrsig = '%s 5 3 %d %s %s 12345 %s %s' % \ 224 sigs.append(dns.rrset.from_text(owner, ttl, IN, RRSIG, rrsig)) [all...] |
/bind-9.11.3/bin/dnssec/ |
H A D | dnssec-signzone.c | 346 keythatsigned_unlocked(dns_rdata_rrsig_t *rrsig) { argument 352 if (rrsig->keyid == dst_key_id(key->key) && 353 rrsig->algorithm == dst_key_alg(key->key) && 354 dns_name_equal(&rrsig->signer, dst_key_name(key->key))) 365 keythatsigned(dns_rdata_rrsig_t *rrsig) { argument 371 key = keythatsigned_unlocked(rrsig); 384 key = keythatsigned_unlocked(rrsig); 390 result = dst_key_fromfile(&rrsig->signer, rrsig->keyid, 391 rrsig 452 setverifies(dns_name_t *name, dns_rdataset_t *set, dst_key_t *key, dns_rdata_t *rrsig) argument 477 dns_rdata_rrsig_t rrsig; local [all...] |
/bind-9.11.3/lib/dns/ |
H A D | rdataset.c | 808 dns_rdata_rrsig_t *rrsig, isc_stdtime_t now, 815 REQUIRE(rrsig != NULL); 821 (isc_serial_le(rrsig->timeexpire, ((now + 120) & 0xffffffff)) || 822 isc_serial_le(rrsig->timeexpire, now))) 824 else if (isc_serial_ge(rrsig->timeexpire, now)) 825 ttl = rrsig->timeexpire - now; 828 ISC_MIN(rrsig->originalttl, ttl)); 807 dns_rdataset_trimttl(dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset, dns_rdata_rrsig_t *rrsig, isc_stdtime_t now, isc_boolean_t acceptexpired) argument
|
H A D | ncache.c | 580 dns_rdata_rrsig_t rrsig; local 637 (void)dns_rdata_tostruct(&rdata, &rrsig, NULL); 638 if (rrsig.covered == covers) { 685 dns_rdata_rrsig_t rrsig; local 728 (void)dns_rdata_tostruct(&rdata, &rrsig, NULL); 729 rdataset->covers = rrsig.covered;
|
H A D | update.c | 1196 dns_rdata_rrsig_t rrsig; local 1220 result = dns_rdata_tostruct(&rdata, &rrsig, NULL); 1224 if (rrsig.keyid == dst_key_id(keys[i])) {
|
H A D | dnssec.c | 156 dns_rdata_rrsig_t *rrsig) 172 RUNTIME_CHECK(dns_name_downcase(&rrsig->signer, 177 dns_name_toregion(&rrsig->signer, &r); 155 digest_sig(dst_context_t *ctx, isc_boolean_t downcase, dns_rdata_t *sigrdata, dns_rdata_rrsig_t *rrsig) argument
|
H A D | zone.c | 6163 dns_rdata_rrsig_t rrsig; local 6196 result = dns_rdata_tostruct(&rdata, &rrsig, NULL); 6201 if (delsig_ok(&rrsig, keys, nkeys, &warn)) { 6236 dns_secalg_format(rrsig.algorithm, 6245 rrsig.keyid); 6258 if (rrsig.algorithm == dst_key_alg(keys[i]) && 6259 rrsig.keyid == dst_key_id(keys[i])) { 6270 dns_time64_from32(rrsig.timeexpire); 6690 dns_rdata_rrsig_t rrsig; local 6703 result = dns_rdata_tostruct(&rdata, &rrsig, NUL 8205 dns_rdata_rrsig_t rrsig; local 17714 dns_rdata_rrsig_t rrsig; local [all...] |
H A D | resolver.c | 632 dns_rdata_rrsig_t rrsig; local 642 result = dns_rdata_tostruct(&rdata, &rrsig, NULL); 644 namereln = dns_name_fullcompare(&rrsig.signer, &fctx->domain, 5222 dns_rdata_rrsig_t rrsig; local 5260 result = dns_rdata_tostruct(&rdata, &rrsig, NULL); 5262 /* Wildcard has rrsig.labels < labels - 1. */ 5263 if (rrsig.labels + 1U >= labels)
|
/bind-9.11.3/bin/tests/system/dnssec/ |
H A D | clean.sh | 80 rm -f ns7/split-rrsig.db ns7/split-rrsig.db.unsplit
|
H A D | tests.sh | 1592 ans=`$DIG $DIGOPTS +short normalthenrrsig.secure.example. @10.53.0.4 rrsig` || ret=1 1593 expect=`$DIG $DIGOPTS +short normalthenrrsig.secure.example. @10.53.0.3 rrsig | grep '^A' ` || ret=1 1596 $DIG $DIGOPTS normalthenrrsig.secure.example. @10.53.0.4 rrsig > dig.out.ns4.test$n || ret=1 1606 ans=`$DIG $DIGOPTS +short rrsigonly.secure.example. @10.53.0.4 rrsig` || ret=1 1609 $DIG $DIGOPTS rrsigonly.secure.example. @10.53.0.4 rrsig > dig.out.ns4.test$n || ret=1 2980 $DIG $DIGOPTS split-rrsig soa @10.53.0.7 > dig.out.test$n || ret=1
|
/bind-9.11.3/lib/dns/include/dns/ |
H A D | rdataset.h | 512 * the 'nsec'/'nsec3' and 'rrsig(nsec)'/'rrsig(nsec3)' ttl. 538 * the 'nsec' and 'rrsig(nsec)' ttl. 679 dns_rdata_rrsig_t *rrsig, isc_stdtime_t now, 683 * at or before 'rrsig->expiretime'. If 'acceptexpired' is true and the 687 * The ttl is further limited by the original ttl as stored in 'rrsig' 693 * \li 'rrsig' is non NULL.
|
/bind-9.11.3/bin/tests/system/masterformat/ |
H A D | tests.sh | 84 for name in ns mx a aaaa cname dname txt rrsig nsec \
|
/bind-9.11.3/bin/named/ |
H A D | query.c | 3074 dns_rdata_rrsig_t *rrsig, dns_rdataset_t *rdataset, 3096 dns_rdataset_trimttl(rdataset, sigrdataset, rrsig, now, 3107 * Find the secure key that corresponds to rrsig. 3113 get_key(ns_client_t *client, dns_db_t *db, dns_rdata_rrsig_t *rrsig, argument 3126 result = dns_db_findnodeext(db, &rrsig->signer, ISC_FALSE, 3153 result = dst_key_fromdns(&rrsig->signer, rdata.rdclass, &b, 3157 if (rrsig->algorithm == (dns_secalg_t)dst_key_alg(*keyp) && 3158 rrsig->keyid == (dns_keytag_t)dst_key_id(*keyp) && 3200 dns_rdata_rrsig_t rrsig; local 3213 result = dns_rdata_tostruct(&rdata, &rrsig, NUL 3073 mark_secure(ns_client_t *client, dns_db_t *db, dns_name_t *name, dns_rdata_rrsig_t *rrsig, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset) argument [all...] |
/bind-9.11.3/bin/tests/system/resolver/ |
H A D | tests.sh | 296 $DIG +tcp rrsig mail.example.net +norec @10.53.0.7 -p 5300 > dig.ns7.out.${n} || ret=4
|