Searched refs:label (Results 1 - 20 of 20) sorted by relevance

/bind-9.6-ESV-R11/contrib/pkcs11-keygen/
H A Dwritekey.sh54 label=$zone,zsk,$ext
56 label=$zone,ksk,$ext
63 echo "Label will be '"$label"'"
64 $mypath/writekey -p $pin -l $label -i $tag -f $tmp_file
72 print "Label: ", encode_base64("pkcs11:"."$label"."\0",""), "\n";
H A Dgenkey.sh27 label="$zone,$flag,$ext"
29 label="$zone,zsk,$ext"
36 $mypath/genkey -b $bits -l $label -p $pin
40 $mypath/PEM_write_pubkey -e $engine -p $pin -k pkcs11:$label -f $tmp_file
45 keytag=`$mypath/keyconv.pl -a 5 -k -e $engine -l $label -p $key_path -i $tmp_file $zone`
47 keytag=`$mypath/keyconv.pl -a 5 -e $engine -l $label -p $key_path -i $tmp_file $zone`
53 $mypath/set_key_id -l $label -n $keytag -p $pin
H A Dgenkey.c9 * genkey [-P] [-s slot] -b keysize -l label [-p pin]
40 CK_CHAR *label = NULL; local
82 label = (CK_CHAR *)optarg;
97 if ((errflg) || (!modulusbits) || (!label)) {
99 "usage: genkey [-P] [-s slot] -b keysize -l label [-p pin]\n");
103 search_template[0].pValue = label;
104 search_template[0].ulValueLen = strlen((char *)label);
105 publickey_template[0].pValue = label;
106 publickey_template[0].ulValueLen = strlen((char *)label);
107 privatekey_template[0].pValue = label;
[all...]
H A Ddestroyobj.c1 /* destroyobj [-s $slot] [-i $id | -l $label] [-p $pin] */
26 char *label = NULL; local
47 label = optarg;
62 if (errflg || ((!id) && (!label))) {
64 "usage: destroykey [-s slot] [-i id | -l label] [-p pin]\n");
71 } else if (label) {
72 printf("label %s\n", label);
74 search_template[0].pValue = label;
75 search_template[0].ulValueLen = strlen(label);
[all...]
H A Dkeyconv.pl13 die "usage: keyconv.pl [-a alg] [-k (to indicate KSK)] -e engine -l label [-p (path to store key)] -i filename domainname\n" if $option{h} || (not defined $option{i}) || (not defined $option{e}) || (not defined $option{l});
55 my $label="";
56 $option{k}==0 && ($label=encode_base64($option{e}.":".$option{l}."\0",""));
57 $option{k}!=0 && ($label=encode_base64($option{e}.":".$option{l}."\0",""));
58 print PFILE "Label: ", $label, "\n";
H A Dlistobjs.c1 /* listobjs [-P] [-s slot] [-i $id | -l $label] [-p $pin] */
26 char *label = NULL; local
50 label = optarg;
67 "usage: listobjs [-P] [-s slot] [-p pin] -i id | $label\n");
70 if ((!id) && (!label))
78 } else if (label) {
79 printf("label %s\n", label);
81 search_template[0].pValue = label;
82 search_template[0].ulValueLen = strlen(label);
[all...]
H A Dset_key_id.c1 /* set_key_id [-s slot] [-p $pin] -n $keytag {-i $id | -l $label} */
29 char *label = NULL; local
56 label = optarg;
71 if ((errflg) || (!nid) || ((!oid) && (!label))) {
74 "{ -i old_id | -l label }\n");
77 if (!label)
80 printf("label %s new %i\n", label, nid);
82 search_template[0].pValue = label;
83 search_template[0].ulValueLen = strlen(label);
[all...]
H A Dreadkey.c1 /* readkey [-s $slot] -l $label [-p $pin] -f $filename */
32 char *label; local
67 label = optarg;
85 if ((errflg) || (!label) || (!filename)) {
87 "usage: readkey [-s slot] -l label [-p pin] -f filename\n");
134 if (strstr(label, "pkcs11:") == label)
135 label = strstr(label, ":") + 1;
136 search_template[0].pValue = label;
[all...]
H A Dwritekey.c1 /* writekey [-s $slot] [-p $pin] -l $label -i $id -f $filename */
44 char *label = NULL, *filename = NULL; local
57 label = optarg;
79 if ((errflg) || (!label) || (!id) || (!filename)) {
81 "usage: writekey [-s slot] [-p pin] -l label -i id "
156 if (strstr(label, "pkcs11:") == label)
157 label = strstr(label, ":") + 1;
166 template[2].pValue = label;
[all...]
/bind-9.6-ESV-R11/contrib/queryperf/utils/
H A Dgen-data-queryperf.py38 def remove_tld(label, tld):
39 if label.endswith('.' + tld + '.'):
40 return label[0:-(1+ len(tld) + 1)]
42 return label
45 label = ""
47 label = label + gen.choice(ldh)
48 return label
50 def make_domain(label):
51 return "www." + label
[all...]
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/lib/
H A Dres.c97 * label to convert.
110 labellist_t label);
117 static void labellist_destroy(labellist_t label);
118 static idn_result_t labellist_setname(labellist_t label,
121 labellist_getname(labellist_t label);
123 labellist_gettldname(labellist_t label);
124 static idn_result_t labellist_getnamelist(labellist_t label,
127 static void labellist_undo(labellist_t label);
128 static labellist_t labellist_tail(labellist_t label);
129 static labellist_t labellist_previous(labellist_t label);
937 labellist_destroy(labellist_t label) argument
949 labellist_setname(labellist_t label, const unsigned long *name) argument
970 labellist_getname(labellist_t label) argument
975 labellist_gettldname(labellist_t label) argument
989 labellist_getnamelist(labellist_t label, unsigned long *name, size_t name_length) argument
1013 labellist_undo(labellist_t label) argument
1021 labellist_tail(labellist_t label) argument
1032 labellist_previous(labellist_t label) argument
1039 label_localdecodecheck(idn_resconf_t ctx, labellist_t label) argument
1093 label_idndecode(idn_resconf_t ctx, labellist_t label) argument
1168 label_idnencode_ace(idn_resconf_t ctx, labellist_t label) argument
1245 label_localmap(idn_resconf_t ctx, labellist_t label) argument
1304 label_map(idn_resconf_t ctx, labellist_t label) argument
1355 label_normalize(idn_resconf_t ctx, labellist_t label) argument
1407 label_prohcheck(idn_resconf_t ctx, labellist_t label) argument
1433 label_unascheck(idn_resconf_t ctx, labellist_t label) argument
1459 label_bidicheck(idn_resconf_t ctx, labellist_t label) argument
1485 label_asccheck(idn_resconf_t ctx, labellist_t label) argument
1522 label_lencheck_ace(idn_resconf_t ctx, labellist_t label) argument
1544 label_lencheck_nonace(idn_resconf_t ctx, labellist_t label) argument
1599 label_rtcheck(idn_resconf_t ctx, idn_action_t actions, labellist_t label, const unsigned long *original_name) argument
[all...]
/bind-9.6-ESV-R11/bin/dnssec/
H A Ddnssec-keyfromlabel.c60 fprintf(stderr, " %s -a alg -l label [options] name\n\n",
65 fprintf(stderr, " -l label: label of the key\n");
107 char *label = NULL; local
139 label = isc_commandline_argument;
182 if (label == NULL)
183 fatal("the key label was not specified");
274 rdclass, "", label, NULL, mctx, &key);
H A Ddnssec-signzone.c2264 * Extract the hash from the first label of 'name' then see if it
2276 dns_label_t label; local
2288 * Get the first label.
2290 dns_name_getlabel(name, 0, &label);
2293 * We want just the label contents.
2295 isc_region_consume(&label, 1);
2301 result = isc_base32hex_decoderegion(&label, &target);
/bind-9.6-ESV-R11/lib/dns/
H A Dopensslrsa_link.c1073 if (key->label != NULL) {
1075 priv.elements[i].length = strlen(key->label) + 1;
1076 priv.elements[i].data = (unsigned char *)key->label;
1104 const char *name = NULL, *label = NULL; local
1120 label = (char *)priv.elements[i].data;
1130 if (name != NULL || label != NULL) {
1133 INSIST(label != NULL);
1137 pkey = ENGINE_load_private_key(e, label, NULL, NULL);
1145 key->label = isc_mem_strdup(key->mctx, label);
1247 opensslrsa_fromlabel(dst_key_t *key, const char *engine, const char *label, const char *pin) argument
[all...]
H A Ddst_internal.h98 char *label; /*%< engine label (HSM) */ member in struct:dst_key
178 const char *label, const char *pin);
H A Dname.c273 * Does 'name' end in the root label?
303 * Root label.
353 * Root label.
411 unsigned int label; local
421 * Skip first label.
427 label = 1;
431 while (label + 1 < name->labels) {
437 label++;
611 * other extended label types.
809 * ended with the root label an
880 dns_name_getlabel(const dns_name_t *name, unsigned int n, dns_label_t *label) argument
1041 unsigned char *ndata, *label = NULL; local
[all...]
H A Ddst_api.c688 const char *engine, const char *label, const char *pin,
698 REQUIRE(label != NULL);
711 result = key->func->fromlabel(key, engine, label, pin);
846 if (key->label != NULL)
847 isc_mem_free(mctx, key->label);
686 dst_key_fromlabel(dns_name_t *name, int alg, unsigned int flags, unsigned int protocol, dns_rdataclass_t rdclass, const char *engine, const char *label, const char *pin, isc_mem_t *mctx, dst_key_t **keyp) argument
/bind-9.6-ESV-R11/contrib/zkt/
H A Dzconf.c121 char *label; /* the name of the paramter */ member in struct:__anon76
230 for ( c = confpara; c->label; c++ )
231 if ( strcasecmp (entry, c->label) == 0 )
356 len = strlen (c->label);
357 if ( strcasecmp (tag, c->label) == 0 )
498 fprintf (fp, "%s:\t", cp->label);
504 fprintf (fp, "%s:\tNONE", cp->label);
509 fprintf (fp, "%s:\t\"%s\"\n", cp->label, *(char **)cp->var);
512 fprintf (fp, "%s:\t%s\n", cp->label, bool2str ( *(int*)cp->var ));
516 fprintf (fp, "%s:\t%s", cp->label, timeint2st
[all...]
/bind-9.6-ESV-R11/lib/dns/include/dst/
H A Ddst.h452 const char *engine, const char *label, const char *pin,
/bind-9.6-ESV-R11/lib/dns/include/dns/
H A Dname.h42 * label handles to be created and attached to uncompressed wire format
88 ***** A 'label' is basically a region. It contains one DNS wire format
89 ***** label of type 00 (ordinary).
97 ***** Note that all names are not required to end with the root label,
278 * Does 'name' end in the root label?
284 * \li TRUE The last label in 'name' is the root label.
285 * \li FALSE The last label in 'name' is not the root label.
299 * \li TRUE The least significant label o
[all...]

Completed in 220 milliseconds