/macosx-10.9.5/bind9-45.100/bind9/lib/dns/ |
H A D | keydata.c | 35 dns_rdata_dnskey_t *dnskey, isc_mem_t *mctx) 37 REQUIRE(keydata != NULL && dnskey != NULL); 39 dnskey->common.rdtype = dns_rdatatype_dnskey; 40 dnskey->common.rdclass = keydata->common.rdclass; 41 dnskey->mctx = mctx; 42 dnskey->flags = keydata->flags; 43 dnskey->protocol = keydata->protocol; 44 dnskey->algorithm = keydata->algorithm; 46 dnskey->datalen = keydata->datalen; 49 dnskey 34 dns_keydata_todnskey(dns_rdata_keydata_t *keydata, dns_rdata_dnskey_t *dnskey, isc_mem_t *mctx) argument 61 dns_keydata_fromdnskey(dns_rdata_keydata_t *keydata, dns_rdata_dnskey_t *dnskey, isc_uint32_t refresh, isc_uint32_t addhd, isc_uint32_t removehd, isc_mem_t *mctx) argument [all...] |
H A D | nsec.c | 233 dns_rdata_dnskey_t dnskey; local 260 result = dns_rdata_tostruct(&rdata, &dnskey, NULL); 263 if (dnskey.algorithm == DST_ALG_RSAMD5 || 264 dnskey.algorithm == DST_ALG_RSASHA1 || 265 dnskey.algorithm == DST_ALG_DSA || 266 dnskey.algorithm == DST_ALG_ECC)
|
H A D | dnssec.c | 1579 dns_rdata_t dnskey = DNS_RDATA_INIT; local 1582 dns_rdata_reset(&dnskey); 1583 RETERR(make_dnskey(key->key, buf, sizeof(buf), &dnskey)); 1605 &dnskey, &tuple)); 1621 dns_rdata_t dnskey = DNS_RDATA_INIT; local 1628 RETERR(make_dnskey(key->key, buf, sizeof(buf), &dnskey)); 1629 RETERR(dns_difftuple_create(mctx, DNS_DIFFOP_DEL, origin, ttl, &dnskey,
|
H A D | zone.c | 2303 dns_rdata_dnskey_t dnskey; local 2326 result = dns_rdata_tostruct(&rdata, &dnskey, NULL); 2329 if ((dnskey.algorithm == DST_ALG_RSASHA1 || 2330 dnskey.algorithm == DST_ALG_RSAMD5) && 2331 dnskey.datalen > 1 && dnskey.data[0] == 1 && 2332 dnskey.data[1] == 3) 2334 if (dnskey.algorithm == DST_ALG_RSASHA1) { 2347 dnskey.algorithm); 2745 dns_rdata_dnskey_t dnskey; local 2843 compute_tag(dns_name_t *name, dns_rdata_dnskey_t *dnskey, isc_mem_t *mctx, dns_keytag_t *tag) argument 2868 trust_key(dns_zone_t *zone, dns_name_t *keyname, dns_rdata_dnskey_t *dnskey, isc_mem_t *mctx) argument 2923 dns_rdata_dnskey_t dnskey; local 7091 dns_rdata_dnskey_t dnskey; local 7281 dns_rdata_dnskey_t dnskey; local 7359 dns_rdata_dnskey_t dnskey; local 13919 dns_rdata_dnskey_t dnskey; local [all...] |
H A D | view.c | 1725 dns_rdata_dnskey_t *dnskey, isc_mem_t *mctx) 1738 dnskey->flags &= ~DNS_KEYFLAG_REVOKE; 1740 /* Convert dnskey to DST key. */ 1742 dns_rdata_fromstruct(&rdata, dnskey->common.rdclass, 1743 dns_rdatatype_dnskey, dnskey, &buffer); 1724 dns_view_untrust(dns_view_t *view, dns_name_t *keyname, dns_rdata_dnskey_t *dnskey, isc_mem_t *mctx) argument
|
/macosx-10.9.5/bind9-45.100/bind9/bin/tests/system/smartsign/ |
H A D | clean.sh | 19 rm -f K* dsset-* *.signed random.data dnskey.sigs other.sigs dsset.out
|
H A D | tests.sh | 193 awk '$2 == "RRSIG" && $3 == "DNSKEY" { getline; print $2 }' $cfile.signed > dnskey.sigs 194 grep -w "$ckactive" dnskey.sigs > /dev/null || ret=1 195 grep -w "$ckrevoked" dnskey.sigs > /dev/null || ret=1 196 grep -w "$czactive" dnskey.sigs > /dev/null || ret=1 198 grep -w "$ckprerevoke" dnskey.sigs > /dev/null && ret=1 199 grep -w "$ckpublished" dnskey.sigs > /dev/null && ret=1 200 grep -w "$czpublished" dnskey.sigs > /dev/null && ret=1 201 grep -w "$czinactive" dnskey.sigs > /dev/null && ret=1 202 grep -w "$czgenerated" dnskey.sigs > /dev/null && ret=1 232 awk '$2 == "RRSIG" && $3 == "DNSKEY" { getline; print $2 }' $cfile.signed > dnskey [all...] |
/macosx-10.9.5/bind9-45.100/bind9/lib/dns/include/dns/ |
H A D | keydata.h | 45 dns_rdata_dnskey_t *dnskey, isc_mem_t *mctx); 49 dns_rdata_dnskey_t *dnskey,
|
H A D | view.h | 1042 dns_rdata_dnskey_t *dnskey, isc_mem_t *mctx); 1044 * Remove keys that match 'keyname' and 'dnskey' from the views trust 1051 * \li 'dnskey' is valid.
|
/macosx-10.9.5/bind9-45.100/bind9/lib/dns/rdata/generic/ |
H A D | dnskey_48.c | 212 dns_rdata_dnskey_t *dnskey = source; local 216 REQUIRE(dnskey->common.rdtype == type); 217 REQUIRE(dnskey->common.rdclass == rdclass); 223 RETERR(uint16_tobuffer(dnskey->flags, target)); 226 RETERR(uint8_tobuffer(dnskey->protocol, target)); 229 RETERR(uint8_tobuffer(dnskey->algorithm, target)); 232 return (mem_tobuffer(target, dnskey->data, dnskey->datalen)); 237 dns_rdata_dnskey_t *dnskey = target; local 244 dnskey 280 dns_rdata_dnskey_t *dnskey = (dns_rdata_dnskey_t *) source; local [all...] |
/macosx-10.9.5/bind9-45.100/bind9/bin/tests/system/nsupdate/ns3/ |
H A D | sign.sh | 35 zone=dnskey.test. 36 infile=dnskey.test.db.in 37 zonefile=dnskey.test.db
|
/macosx-10.9.5/bind9-45.100/bind9/bin/tests/system/nsupdate/ |
H A D | clean.sh | 34 rm -f ns3/dnskey.test.db.signed.jnl ns3/dnskey.test.db ns3/dnskey.test.db.signed ns3/dsset-dnskey.test.
|
H A D | tests.sh | 415 $DIG +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd dnskey.test. \ 416 @10.53.0.3 -p 5300 dnskey | \ 421 $DIG +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd dnskey.test. \
|
/macosx-10.9.5/bind9-45.100/bind9/contrib/ |
H A D | check-secure-delegation.pl.in | 40 my %dnskey = (); 75 $dnskey{"$dswords[3] $dswords[4]"} = 1; 88 exists($dnskey{"$words[10] $words[5]"})); 92 if (exists($dnskey{"$words[10] $words[5]"}));
|
/macosx-10.9.5/bind9-45.100/bind9/bin/tests/virtual-time/autosign-ksk/ |
H A D | tests.sh | 34 $DIG $DIGOPTS -t dnskey example. @10.53.0.1 > dig.out.ns1.test$n || ret=1 46 $DIG $DIGOPTS -t dnskey example. @10.53.0.1 > dig.out.ns1.test$n || ret=1 59 $DIG $DIGOPTS -t dnskey example. @10.53.0.1 > dig.out.ns1.test$n || ret=1 71 $DIG $DIGOPTS -t dnskey example. @10.53.0.1 > dig.out.ns1.test$n || ret=1 88 $DIG $DIGOPTS -t dnskey example. @10.53.0.1 > dig.out.ns1.test$n || ret=1 99 $DIG $DIGOPTS -t dnskey example. @10.53.0.1 > dig.out.ns1.test$n || ret=1
|
/macosx-10.9.5/bind9-45.100/bind9/bin/tests/system/masterformat/ |
H A D | tests.sh | 30 for name in ns mx a aaaa cname dname txt rrsig nsec dnskey ds 70 for name in ns mx a aaaa cname dname txt rrsig nsec dnskey ds
|
/macosx-10.9.5/bind9-45.100/bind9/bin/tests/virtual-time/autosign-zsk/ |
H A D | tests.sh | 33 $DIG $DIGOPTS -t dnskey example. @10.53.0.1 > dig.out.ns1.key$n || ret=1 48 $DIG $DIGOPTS -t dnskey example. @10.53.0.1 > dig.out.ns1.key$n || ret=1 62 $DIG $DIGOPTS -t dnskey example. @10.53.0.1 > dig.out.ns1.key$n || ret=1 75 $DIG $DIGOPTS -t dnskey example. @10.53.0.1 > dig.out.ns1.key$n || ret=1 89 $DIG $DIGOPTS -t dnskey example. @10.53.0.1 > dig.out.ns1.key$n || ret=1
|
/macosx-10.9.5/bind9-45.100/bind9/bin/tests/system/dlv/ |
H A D | tests.sh | 31 $DIG $DIGOPTS child1.utld dnskey @10.53.0.5 > dig.out.ns5.test$n || ret=1 39 $DIG $DIGOPTS grand.child1.utld dnskey @10.53.0.5 > dig.out.ns5.test$n || ret=1
|
/macosx-10.9.5/bind9-45.100/bind9/bin/tests/system/autosign/ns2/ |
H A D | named.conf | 67 dnssec-dnskey-kskonly yes;
|
/macosx-10.9.5/bind9-45.100/bind9/bin/dnssec/ |
H A D | dnssec-signzone.c | 227 fatal("dnskey '%s' failed to sign data: %s", 481 "private dnskey not found\n", 484 vbprintf(2, "\trrsig by %s %s - dnskey not found\n", 560 "resigning with dnskey"); 605 "signing with dnskey"); 608 "signing with dnskey"); 1470 dns_rdata_dnskey_t dnskey; local 1543 result = dns_rdata_tostruct(&rdata, &dnskey, NULL); 1546 if ((dnskey.flags & DNS_KEYOWNER_ZONE) == 0) 1548 else if ((dnskey 2957 dns_rdata_dnskey_t dnskey; local [all...] |
H A D | dnssec-dsfromkey.c | 224 dns_rdata_dnskey_t dnskey; local 232 result = dns_rdata_tostruct(rdata, &dnskey, NULL); 236 if ((dnskey.flags & DNS_KEYFLAG_KSK) == 0 && !showall)
|
/macosx-10.9.5/bind9-45.100/bind9/bin/tests/system/autosign/ |
H A D | tests.sh | 71 $DIG $DIGOPTS . @10.53.0.1 dnskey > dig.out.ns1.test$n || ret=1 638 $DIG $DIGOPTS +multi dnskey . @10.53.0.1 > dig.out.ns1.test$n || ret=1 647 $DIG $DIGOPTS dnskey . @10.53.0.1 > dig.out.ns1.test$n || ret=1 656 $DIG $DIGOPTS +multi dnskey . @10.53.0.1 > dig.out.ns1.test$n || ret=1 665 $DIG $DIGOPTS dnskey . @10.53.0.1 > dig.out.ns1.test$n || ret=1 674 $DIG $DIGOPTS dnskey . @10.53.0.1 > dig.out.ns1.test$n || ret=1 693 $DIG $DIGOPTS dnskey . @10.53.0.1 > dig.out.ns1.test$n || ret=1 702 $DIG $DIGOPTS +multi dnskey . @10.53.0.1 > dig.out.ns1.test$n || ret=1 712 update delete secure-to-insecure.example dnskey 793 $DIG $DIGOPTS dnskey [all...] |
/macosx-10.9.5/bind9-45.100/bind9/bin/tests/ |
H A D | rdata_test.c | 303 dns_rdata_dnskey_t dnskey; local 304 result = dns_rdata_tostruct(rdata, sp = &dnskey, NULL); 565 dns_rdata_dnskey_t dnskey; local 566 result = dns_rdata_tostruct(rdata, sp = &dnskey, mctx); 857 dns_rdata_dnskey_t dnskey; 858 result = dns_rdata_fromstruct(rdata2, rdc, rdt, &dnskey, b);
|
/macosx-10.9.5/bind9-45.100/bind9/bin/named/ |
H A D | update.c | 3420 dns_rdata_dnskey_t dnskey; local 3503 dns_rdata_tostruct(&tuple->rdata, &dnskey, NULL); 3504 if ((dnskey.flags & 3511 keyid = dst_region_computeid(&r, dnskey.algorithm); 3513 buf[0] = dnskey.algorithm; 3586 dns_rdata_dnskey_t dnskey; local 4273 dns_rdata_tostruct(&tuple->rdata, &dnskey, NULL); 4274 if ((dnskey.flags & 4280 algorithm = dnskey.algorithm;
|
/macosx-10.9.5/bind9-45.100/bind9/bin/tests/system/dnssec/ |
H A D | tests.sh | 1311 echo "I:checking dnskey query with no data still gets put in cache ($n)" 1314 firstVal=`$DIG $myDIGOPTS insecure.example. dnskey|awk '{ print $2 }'` 1316 secondVal=`$DIG $myDIGOPTS insecure.example. dnskey|awk '{ print $2 }'` 1320 thirdVal=`$DIG $myDIGOPTS insecure.example. dnskey|awk '{ print $2 }'`
|