Searched defs:keyname (Results 1 - 25 of 28) sorted by relevance

12

/bind-9.11.3/lib/irs/include/irs/
H A Ddnsconf.h32 * validation. A dns_key_t object will be created using the 'keyname' and
36 dns_name_t *keyname; member in struct:irs_dnsconf_dnskey
/bind-9.11.3/bin/confgen/
H A Dkeygen.c198 * the name 'keyname' and the secret in the buffer 'secret'.
202 const char *keyname, isc_buffer_t *secret,
217 keyname, algname,
201 write_key_file(const char *keyfile, const char *user, const char *keyname, isc_buffer_t *secret, dns_secalg_t alg) argument
H A Dddns-confgen.c67 %s [-a alg] [-k keyname] [-r randomfile] [-q] [-s name | -z zone]\n\
69 -k keyname: name of the key as it will be used in named.conf\n\
78 %s [-a alg] [-r randomfile] [keyname]\n\
96 const char *keyname = NULL; local
151 keyname = isc_commandline_argument;
198 keyname = argv[isc_commandline_index++];
213 if (keyname == NULL) {
216 keyname = ((progmode == progmode_keygen)
224 len = strlen(keyname) + strlen(suffix) + 2;
227 fatal("failed to allocate memory for keyname");
[all...]
H A Drndc-confgen.c73 %s [-a] [-b bits] [-c keyfile] [-k keyname] [-p port] [-r randomfile] \
79 -k keyname: the name as it will be used in named.conf and rndc.conf\n\
89 %s [-a] [-b bits] [-c keyfile] [-k keyname] [-p port] [-r randomfile] \
95 -k keyname: the name as it will be used in named.conf and rndc.conf\n\
114 const char *keyname = NULL; local
137 keyname = DEFAULT_KEYNAME;
173 keyname = isc_commandline_argument;
239 keyname, &key_txtbuffer, alg);
250 write_key_file(buf, user, keyname, &key_txtbuffer, alg);
279 keyname, algnam
[all...]
/bind-9.11.3/lib/irs/
H A Ddnsconf.c53 dns_name_t *keyname_base, *keyname; local
80 keyname = NULL;
146 keyname = isc_mem_get(mctx, sizeof(*keyname));
147 if (keyname == NULL) {
151 dns_name_init(keyname, NULL);
152 result = dns_name_dup(keyname_base, mctx, keyname);
159 dns_name_free(keyname, mctx);
163 keyent->keyname = keyname;
[all...]
/bind-9.11.3/lib/dns/include/dns/
H A Dacl.h69 dns_name_t keyname; member in struct:dns_aclelement
/bind-9.11.3/bin/named/
H A Dtsigconf.c52 dns_name_t keyname; local
72 dns_name_init(&keyname, NULL);
76 ret = dns_name_fromtext(&keyname, &keynamesrc, dns_rootname,
108 ret = dns_tsigkey_create(&keyname, alg, secret, secretlen,
H A Dcontrolconf.c63 char * keyname; member in struct:controlkey
114 if (key->keyname != NULL)
115 isc_mem_free(mctx, key->keyname);
685 cfgkeylist_find(const cfg_obj_t *keylist, const char *keyname, argument
698 if (strcasecmp(str, keyname) == 0)
730 key->keyname = newstr;
763 result = cfgkeylist_find(keylist, keyid->keyname, &keydef);
768 keyid->keyname, socktext);
793 algstr, keyid->keyname, socktext);
807 keyid->keyname, socktex
[all...]
H A Dxfrout.c747 char keyname[DNS_NAME_FORMATSIZE]; local
1062 dns_name_format(&xfr->tsigkey->name, keyname, sizeof(keyname));
1064 keyname[0] = '\0';
1068 (xfr->tsigkey != NULL) ? ": TSIG " : "", keyname);
1073 keyname, begin_serial, current_serial);
1078 keyname, current_serial);
/bind-9.11.3/bin/tests/system/tkey/
H A Dkeydelete.c136 char *keyname; local
161 keyname = argv[1];
223 result = dst_key_fromnamedfile(keyname, NULL, type, mctx, &dstkey);
H A Dkeycreate.c71 char keyname[256]; local
109 isc_buffer_init(&keynamebuf, keyname, sizeof(keyname));
134 dns_fixedname_t keyname; local
149 dns_fixedname_init(&keyname);
152 result = dns_name_fromtext(dns_fixedname_name(&keyname), &namestr,
170 result = dns_tsigkey_create(dns_fixedname_name(&keyname),
/bind-9.11.3/lib/dns/tests/
H A Dtsig_test.c253 dns_name_t *keyname; local
273 keyname = dns_fixedname_name(&fkeyname);
274 result = dns_name_fromstring(keyname, "test", 0, NULL);
280 result = dns_tsigkey_create(keyname, dns_tsig_hmacsha256_name,
/bind-9.11.3/contrib/idn/idnkit-1.0-src/wsock/common/
H A Dencoding.c146 char keyname[256]; local
151 if (GetPerProgKey(keyname, sizeof(keyname)) != NULL) {
153 GetRegistry(HKEY_CURRENT_USER, keyname, name,
155 GetRegistry(HKEY_LOCAL_MACHINE, keyname, name,
/bind-9.11.3/lib/dns/
H A Dkeytable.c163 dns_name_t *keyname, dst_key_t **keyp)
181 result = dns_rbt_addnode(keytable->table, keyname, &node);
241 dns_keytable_delete(dns_keytable_t *keytable, dns_name_t *keyname) { argument
246 REQUIRE(keyname != NULL);
249 result = dns_rbt_findnode(keytable->table, keyname, NULL, &node, NULL,
267 dns_name_t *keyname; local
274 keyname = dst_key_name(dstkey);
277 result = dns_rbt_findnode(keytable->table, keyname, NULL, &node, NULL,
328 dns_keytable_find(dns_keytable_t *keytable, dns_name_t *keyname, argument
335 REQUIRE(keyname !
162 insert(dns_keytable_t *keytable, isc_boolean_t managed, dns_name_t *keyname, dst_key_t **keyp) argument
[all...]
H A Dtkey.c298 dns_name_t *keyname, ourname; local
336 keyname = NULL;
337 dns_message_currentname(msg, DNS_SECTION_ADDITIONAL, &keyname);
339 result = dns_message_findtype(keyname, dns_rdatatype_key, 0,
349 result = dns_dnssec_keyfromrdata(keyname, &keyrdata,
382 RETERR(add_rdata_to_list(msg, keyname, &keyrdata, ttl, namelist));
649 dns_name_t *qname, *name, *keyname, *signer, tsigner; local
748 * keyname = qname + defaultdomain
750 * keyname = <random hex> + defaultdomain
762 keyname
979 dns_name_t keyname; local
1024 dns_name_clone(dst_key_name(key), &keyname); local
1151 dns_name_t keyname, *tkeyname, *theirkeyname, *ourkeyname, *tempname; local
1196 dns_name_clone(dst_key_name(key), &keyname); local
[all...]
H A Dtsig.c1155 dns_name_t *keyname; local
1206 keyname = msg->tsigname;
1236 (!dns_name_equal(keyname, &tsigkey->name) ||
1250 * Find dns_tsigkey_t based on keyname.
1255 ret = dns_tsigkey_find(&tsigkey, keyname,
1258 ret = dns_tsigkey_find(&tsigkey, keyname,
1262 ret = dns_tsigkey_create(keyname, &tsig.algorithm,
1516 dns_name_t *keyname; local
1564 keyname = msg->tsigname;
1576 if (!dns_name_equal(keyname,
[all...]
H A Dview.c1558 dns_view_gettsig(dns_view_t *view, dns_name_t *keyname, dns_tsigkey_t **keyp) argument
1563 result = dns_tsigkey_find(keyp, keyname, NULL,
1566 result = dns_tsigkey_find(keyp, keyname, NULL,
1576 dns_name_t *keyname = NULL; local
1583 result = dns_peer_getkey(peer, &keyname);
1587 result = dns_view_gettsig(view, keyname, keyp);
1944 dns_view_untrust(dns_view_t *view, dns_name_t *keyname, argument
1965 result = dns_dnssec_keyfromrdata(keyname, &rdata, mctx, &key);
1982 dns_keytable_marksecure(sr, keyname);
H A Dcatz.c1029 dns_name_t *keyname = NULL; local
1096 keyname = isc_mem_get(mctx, sizeof(dns_name_t));
1097 if (keyname == NULL)
1099 dns_name_init(keyname, 0);
1102 result = dns_name_fromstring(keyname, keycbuf, 0, mctx);
1104 dns_name_free(keyname, mctx);
1105 isc_mem_put(mctx, keyname, sizeof(dns_name_t));
1127 ipkl->keys[i] = keyname;
1140 if (keyname != NULL) {
1141 dns_name_free(keyname, mct
[all...]
H A Dclient.c1526 dns_name_t *keyname, isc_buffer_t *keydatabuf)
1546 result = dst_key_fromdns(keyname, rdclass, keydatabuf, client->mctx,
1525 dns_client_addtrustedkey(dns_client_t *client, dns_rdataclass_t rdclass, dns_name_t *keyname, isc_buffer_t *keydatabuf) argument
/bind-9.11.3/lib/samples/
H A Dresolve.c89 "[[-a algorithm] [-e] -k keyname -K keystring] "
103 dns_name_t *keyname; local
161 keyname = dns_fixedname_name(&fkeyname);
162 result = dns_name_fromtext(keyname, &b, dns_rootname, 0, NULL);
168 keyname, &rrdatabuf);
/bind-9.11.3/bin/tests/dst/
H A Dt_dst.c703 t2_sigchk(char *datapath, char *sigpath, char *keyname, argument
771 isc_buffer_constinit(&b, keyname, strlen(keyname));
772 isc_buffer_add(&b, strlen(keyname));
953 * av == datafile, sigpath, keyname, keyid, alg, exp_result.
959 char *keyname; local
971 keyname = *av++;
994 datapath, sigpath, keyname, key, alg, exp_result);
995 t2_sigchk(datapath, sigpath, keyname, keyid,
/bind-9.11.3/bin/rndc/
H A Drndc.c196 tsig-delete keyname [view]\n\
512 parse_config(isc_mem_t *mctx, isc_log_t *log, const char *keyname, argument
598 if (keyname != NULL)
602 keyname = cfg_obj_asstring(defkey);
606 keyname = cfg_obj_asstring(defkey);
623 keyname) == 0)
627 fatal("no key definition for name %s", keyname);
779 const char *keyname = NULL; local
860 keyname = isc_commandline_argument;
907 parse_config(rndc_mctx, log, keyname,
[all...]
/bind-9.11.3/bin/delv/
H A Ddelv.c575 dns_name_t *keyname; local
580 CHECK(convert_name(&fkeyname, &keyname, keynamestr));
586 match_root = dns_name_equal(keyname, anchor_name);
588 match_dlv = dns_name_equal(keyname, dlv_name);
641 keyname, &rrdatabuf));
/bind-9.11.3/lib/bind9/
H A Dcheck.c2455 const char *keyname = cfg_obj_asstring(cfg_map_getname(key)); local
2482 keyname);
2515 "[%u..%u]", keyname,
2523 " of 8", keyname);
2533 "[<%u]", keyname,
2538 keyname);
2613 char *keyname; local
2630 keyname = isc_mem_strdup(mctx, namebuf);
2631 if (keyname == NULL)
2634 tresult = isc_symtab_define(symtab, keyname,
2677 rndckey_exists(const cfg_obj_t *keylist, const char *keyname) argument
2716 dns_name_t *keyname; local
2817 dns_name_t *keyname; local
[all...]
/bind-9.11.3/bin/nsupdate/
H A Dnsupdate.c220 static dns_name_t *keyname; variable
578 fatal("key option must specify [hmac:]keyname:secret");
583 fatal("key option must specify [hmac:]keyname:secret");
1063 "[-g | -o | -y keyname:secret | -k keyfile] "
2189 "key [hmac:]keyname secret (use TSIG to sign the request)\n"
2879 keyname = dns_fixedname_name(&fkname);
2890 result = dns_name_fromtext(keyname, &buf, dns_rootname, 0, NULL);
2892 fatal("dns_name_fromtext(keyname) failed: %s",
2896 keyname->attributes |= DNS_NAMEATTR_NOCOMPRESS;
2906 result = dns_tkey_buildgssquery(rmsg, keyname, servnam
[all...]

Completed in 86 milliseconds

12