/bind-9.6-ESV-R11/contrib/pkcs11-keygen/ |
H A D | PEM_write_pubkey.c | 3 * usage: PEM_write_pubkey -e engine -p pin -k keyname -f filename 23 char *keyname = NULL; local 38 keyname = optarg; 53 if ((errflg) || (!engine) || (!filename) || (!keyname)) { 56 "-k keyname -f filename\n"); 97 pub_key = ENGINE_load_public_key(e, keyname, NULL, NULL);
|
/bind-9.6-ESV-R11/contrib/zkt/ |
H A D | zkt.c | 389 const dki_t *zkt_search (const dki_t *data, int searchtag, const char *keyname) argument 394 if ( keyname == NULL || *keyname == '\0' ) 405 dkp = (dki_t*)dki_tsearch (data, searchtag, keyname); 407 dkp = (dki_t*)dki_search (data, searchtag, keyname);
|
H A D | dnssec-zkt.c | 135 static void createkey (const char *keyname, const dki_t *list, const zconf_t *conf); 136 static void ksk_roll (const char *keyname, int phase, const dki_t *list, const zconf_t *conf); 160 const char *keyname = NULL; local 220 if ( (keyname = parsetag (optarg, &searchtag)) != NULL ) 221 keyname = domain_canonicdup (keyname); 337 createkey (keyname, data, config); 343 if ( (dkp = (dki_t*)zkt_search (data, searchtag, keyname)) == NULL ) 351 if ( (dkp = (dki_t *)zkt_search (data, searchtag, keyname)) == NULL ) 358 if ( (dkp = (dki_t *)zkt_search (data, searchtag, keyname)) 486 createkey(const char *keyname, const dki_t *list, const zconf_t *conf) argument 538 ksk_roll(const char *keyname, int phase, const dki_t *list, const zconf_t *conf) argument [all...] |
H A D | zkt-keyman.c | 123 static void createkey (const char *keyname, const dki_t *list, const zconf_t *conf); 124 static void ksk_roll (const char *keyname, int phase, const dki_t *list, const zconf_t *conf); 145 const char *keyname = NULL; local 201 if ( (keyname = parsetag (optarg, &searchtag)) != NULL ) 202 keyname = domain_canonicdup (keyname); 281 createkey (keyname, data, config); 287 if ( (dkp = (dki_t*)zkt_search (data, searchtag, keyname)) == NULL ) 295 if ( (dkp = (dki_t *)zkt_search (data, searchtag, keyname)) == NULL ) 302 if ( (dkp = (dki_t *)zkt_search (data, searchtag, keyname)) 393 createkey(const char *keyname, const dki_t *list, const zconf_t *conf) argument 445 ksk_roll(const char *keyname, int phase, const dki_t *list, const zconf_t *conf) argument [all...] |
/bind-9.6-ESV-R11/bin/named/ |
H A D | tsigconf.c | 60 dns_name_t keyname; local 80 dns_name_init(&keyname, NULL); 84 ret = dns_name_fromtext(&keyname, &keynamesrc, dns_rootname, 116 ret = dns_tsigkey_create(&keyname, alg, secret, secretlen,
|
H A D | controlconf.c | 73 char * keyname; member in struct:controlkey 122 if (key->keyname != NULL) 123 isc_mem_free(mctx, key->keyname); 650 cfgkeylist_find(const cfg_obj_t *keylist, const char *keyname, argument 663 if (strcasecmp(str, keyname) == 0) 695 key->keyname = newstr; 727 result = cfgkeylist_find(keylist, keyid->keyname, &keydef); 732 keyid->keyname, socktext); 756 algstr, keyid->keyname, socktext); 769 keyid->keyname, socktex [all...] |
H A D | xfrout.c | 928 char keyname[DNS_NAME_FORMATSIZE]; local 1261 dns_name_format(&xfr->tsigkey->name, keyname, sizeof(keyname)); 1263 keyname[0] = '\0'; 1267 (xfr->tsigkey != NULL) ? ": TSIG " : "", keyname); 1271 (xfr->tsigkey != NULL) ? ": TSIG " : "", keyname);
|
H A D | server.c | 427 dns_name_t *keyname; local 435 keyname = dns_fixedname_name(&fkeyname); 487 CHECK(dns_name_fromtext(keyname, &namebuf, 490 CHECK(dst_key_fromdns(keyname, viewclass, &rrdatabuf,
|
/bind-9.6-ESV-R11/bin/tests/system/tkey/ |
H A D | keydelete.c | 142 char *keyname; local 167 keyname = argv[1]; 229 result = dst_key_fromnamedfile(keyname, type, mctx, &dstkey);
|
H A D | keycreate.c | 76 char keyname[256]; local 114 isc_buffer_init(&keynamebuf, keyname, sizeof(keyname)); 137 dns_fixedname_t keyname; local 152 dns_fixedname_init(&keyname); 155 result = dns_name_fromtext(dns_fixedname_name(&keyname), &namestr, 173 result = dns_tsigkey_create(dns_fixedname_name(&keyname),
|
/bind-9.6-ESV-R11/lib/dns/include/dns/ |
H A D | acl.h | 68 dns_name_t keyname; member in struct:dns_aclelement
|
/bind-9.6-ESV-R11/bin/rndc/ |
H A D | rndc-confgen.c | 79 %s [-a] [-b bits] [-c keyfile] [-k keyname] [-p port] [-r randomfile] \ 84 -k keyname: the name as it will be used in named.conf and rndc.conf\n\ 98 * the name 'keyname' and the secret in the buffer 'secret'. 102 const char *keyname, isc_buffer_t *secret ) 114 "\tsecret \"%.*s\";\n};\n", keyname, 136 const char *keyname = NULL; local 161 keyname = DEFAULT_KEYNAME; 188 keyname = isc_commandline_argument; 290 keyname, &key_txtbuffer); 301 write_key_file(buf, user, keyname, 101 write_key_file(const char *keyfile, const char *user, const char *keyname, isc_buffer_t *secret ) argument [all...] |
H A D | rndc.c | 141 tsig-delete keyname [view]\n\ 433 parse_config(isc_mem_t *mctx, isc_log_t *log, const char *keyname, argument 515 if (keyname != NULL) 519 keyname = cfg_obj_asstring(defkey); 523 keyname = cfg_obj_asstring(defkey); 540 keyname) == 0) 544 fatal("no key definition for name %s", keyname); 681 const char *keyname = NULL; local 754 keyname = isc_commandline_argument; 801 parse_config(mctx, log, keyname, [all...] |
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/wsock/common/ |
H A D | encoding.c | 146 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.6-ESV-R11/lib/dns/ |
H A D | keytable.c | 181 dns_name_t *keyname; local 190 keyname = dst_key_name(*keyp); 199 result = dns_rbt_addnode(keytable->table, keyname, &node);
|
H A D | tkey.c | 272 dns_name_t *keyname, ourname; local 304 keyname = NULL; 305 dns_message_currentname(msg, DNS_SECTION_ADDITIONAL, &keyname); 307 result = dns_message_findtype(keyname, dns_rdatatype_key, 0, 317 result = dns_dnssec_keyfromrdata(keyname, &keyrdata, 348 RETERR(add_rdata_to_list(msg, keyname, &keyrdata, ttl, namelist)); 599 dns_name_t *qname, *name, *keyname, *signer, tsigner; local 697 * keyname = qname + defaultdomain 699 * keyname = <random hex> + defaultdomain 711 keyname 925 dns_name_t keyname; local 973 dns_name_clone(dst_key_name(key), &keyname); local 1102 dns_name_t keyname, *tkeyname, *theirkeyname, *ourkeyname, *tempname; local 1147 dns_name_clone(dst_key_name(key), &keyname); local [all...] |
H A D | tsig.c | 978 dns_name_t *keyname; local 1027 keyname = msg->tsigname; 1057 (!dns_name_equal(keyname, &tsigkey->name) || 1071 * Find dns_tsigkey_t based on keyname. 1076 ret = dns_tsigkey_find(&tsigkey, keyname, 1079 ret = dns_tsigkey_find(&tsigkey, keyname, 1083 ret = dns_tsigkey_create(keyname, &tsig.algorithm, 1296 dns_name_t *keyname; local 1338 keyname = msg->tsigname; 1350 if (!dns_name_equal(keyname, [all...] |
H A D | view.c | 1258 dns_view_gettsig(dns_view_t *view, dns_name_t *keyname, dns_tsigkey_t **keyp) argument 1263 result = dns_tsigkey_find(keyp, keyname, NULL, 1266 result = dns_tsigkey_find(keyp, keyname, NULL, 1276 dns_name_t *keyname = NULL; local 1283 result = dns_peer_getkey(peer, &keyname); 1287 result = dns_view_gettsig(view, keyname, keyp);
|
H A D | zone.c | 8222 dns_name_t *keyname = zone->masterkeynames[zone->curmaster]; local 8223 result = dns_view_gettsig(view, keyname, &key); 8226 dns_name_format(keyname, namebuf, sizeof(namebuf)); 8464 dns_name_t *keyname = zone->masterkeynames[zone->curmaster]; local 8465 result = dns_view_gettsig(view, keyname, &key); 8468 dns_name_format(keyname, namebuf, sizeof(namebuf)); 10389 dns_name_t *keyname = zone->masterkeynames[zone->curmaster]; local 10390 result = dns_view_gettsig(view, keyname, &zone->tsigkey);
|
/bind-9.6-ESV-R11/bin/tests/dst/ |
H A D | t_dst.c | 635 t2_sigchk(char *datapath, char *sigpath, char *keyname, argument 701 isc_buffer_constinit(&b, keyname, strlen(keyname)); 702 isc_buffer_add(&b, strlen(keyname)); 846 * av == datafile, sigpath, keyname, keyid, alg, exp_result. 852 char *keyname; local 867 keyname = *av++; 918 datapath, sigpath, keyname, key, alg, exp_result); 919 t2_sigchk(datapath, sigpath, keyname, keyid,
|
/bind-9.6-ESV-R11/bin/nsupdate/ |
H A D | nsupdate.c | 192 static dns_name_t *keyname; variable 493 dns_name_t *keyname; local 499 keyname = dns_fixedname_name(&fkeyname); 505 fatal("key option must specify [hmac:]keyname:secret"); 510 fatal("key option must specify [hmac:]keyname:secret"); 524 result = dns_name_fromtext(keyname, &keynamesrc, dns_rootname, 544 result = dns_tsigkey_create(keyname, hmacname, secret, secretlen, 876 "[-g | -o | -y keyname:secret | -k keyfile] " 1329 dns_name_t *keyname; local 1344 keyname [all...] |
/bind-9.6-ESV-R11/lib/bind9/ |
H A D | check.c | 1400 const char *keyname = cfg_obj_asstring(cfg_map_getname(key)); local 1425 keyname); 1460 "[%u..%u]", keyname, 1468 " of 8", keyname); 1478 "[<%u]", keyname, 1483 keyname); 1517 char *keyname; local 1534 keyname = isc_mem_strdup(mctx, namebuf); 1535 if (keyname == NULL) 1538 tresult = isc_symtab_define(symtab, keyname, 1581 rndckey_exists(const cfg_obj_t *keylist, const char *keyname) argument 1620 dns_name_t *keyname; local 1716 dns_name_t *keyname; local [all...] |
/bind-9.6-ESV-R11/bin/dig/ |
H A D | dighost.c | 896 dns_name_t keyname; local 904 dns_name_init(&keyname, NULL); 924 result = dns_name_fromtext(&keyname, namebuf, dns_rootname, ISC_FALSE, 929 result = dns_tsigkey_create(&keyname, hmacname, secretstore, 940 dns_name_invalidate(&keyname);
|