Lines Matching defs:dnskey
3189 dns_rdata_dnskey_t dnskey;
3212 result = dns_rdata_tostruct(&rdata, &dnskey, NULL);
3215 if ((dnskey.algorithm == DST_ALG_RSASHA1 ||
3216 dnskey.algorithm == DST_ALG_RSAMD5) &&
3217 dnskey.datalen > 1 && dnskey.data[0] == 1 &&
3218 dnskey.data[1] == 3)
3220 if (dnskey.algorithm == DST_ALG_RSASHA1) {
3233 dnskey.algorithm);
3777 dns_rdata_dnskey_t dnskey;
3808 CHECK(dns_rdata_tostruct(&rdata, &dnskey, NULL));
3809 CHECK(dns_keydata_fromdnskey(&keydata, &dnskey, now, 0, 0,
3874 compute_tag(dns_name_t *name, dns_rdata_dnskey_t *dnskey, isc_mem_t *mctx,
3884 dns_rdata_fromstruct(&rdata, dnskey->common.rdclass,
3885 dns_rdatatype_dnskey, dnskey, &buffer);
3900 dns_rdata_dnskey_t *dnskey, isc_mem_t *mctx)
3909 /* Convert dnskey to DST key. */
3911 dns_rdata_fromstruct(&rdata, dnskey->common.rdclass,
3912 dns_rdatatype_dnskey, dnskey, &buffer);
3955 dns_rdata_dnskey_t dnskey;
4000 /* Convert keydata to dnskey. */
4001 dns_keydata_todnskey(&keydata, &dnskey, NULL);
4005 trust_key(zone, name, &dnskey, mctx);
8769 dns_rdata_dnskey_t dnskey;
8779 result = dns_rdata_tostruct(rr, &dnskey, NULL);
8781 dnskey.flags &= ~DNS_KEYFLAG_REVOKE;
8783 &dnskey, &buf);
8790 dns_keydata_todnskey(&keydata, &dnskey, NULL);
8792 &dnskey, &buf);
8973 dns_rdata_dnskey_t dnskey;
8987 dns_keydata_todnskey(keydata, &dnskey, NULL);
8989 dns_rdatatype_dnskey, &dnskey, &keyb);
9052 dns_rdata_dnskey_t dnskey;
9230 dns_keydata_todnskey(&keydata, &dnskey, NULL);
9231 result = compute_tag(keyname, &dnskey, mctx, &keytag);
9335 result = dns_rdata_tostruct(&dnskeyrr, &dnskey, NULL);
9339 if (!ISC_TF(dnskey.flags & DNS_KEYFLAG_KSK))
9342 result = compute_tag(keyname, &dnskey, mctx, &keytag);
9345 revoked = ISC_TF(dnskey.flags & DNS_KEYFLAG_REVOKE);
9372 &dnskey, mctx);
9517 result = dns_rdata_tostruct(&dnskeyrr, &dnskey, NULL);
9519 dns_keydata_fromdnskey(&keydata, &dnskey, 0, 0, 0,
9538 result = dns_rdata_tostruct(&dnskeyrr, &dnskey, NULL);
9540 trust_key(zone, keyname, &dnskey, mctx);
17483 dns_rdata_dnskey_t dnskey;
17498 result = dns_rdata_tostruct(&tuple->rdata, &dnskey, NULL);
17500 if ((dnskey.flags &
17507 keyid = dst_region_computeid(&r, dnskey.algorithm);
17509 buf[0] = dnskey.algorithm;
18172 dns_rdataset_t dnskey, cds, cdnskey;
18184 dns_rdataset_init(&dnskey);
18204 dns_rdatatype_none, 0, &dnskey, NULL);
18231 for (result = dns_rdataset_first(&dnskey);
18233 result = dns_rdataset_next(&dnskey)) {
18237 dns_rdataset_current(&dnskey, &rdata);
18275 for (result = dns_rdataset_first(&dnskey);
18277 result = dns_rdataset_next(&dnskey)) {
18280 dns_rdataset_current(&dnskey, &rdata);
18302 if (dns_rdataset_isassociated(&dnskey))
18303 dns_rdataset_disassociate(&dnskey);