Lines Matching defs:cid
60 static char *opts[] = { "net", "cid", "type", NULL };
66 * net=<addr>,cid=<cid>,type=<3des|aes|sha1|rsa>
69 * supplied arguments, 'net', 'cid' and 'ka'.
75 process_option(char *arg, char **net, char **cid, wbku_key_attr_t *ka)
92 *cid = value;
117 if (*cid != NULL && **cid == '\0') {
118 wbku_printerr("Missing cid option value\n");
121 if (*cid != NULL && *net == NULL) {
123 "The cid option requires net option specification\n");
162 * This routine uses the 'net' and the 'cid' to generate the client's
173 const char *cid, boolean_t create)
183 } else if (cid == NULL) {
185 } else if (!isxstring(cid)) {
188 cid);
192 net, cid);
357 const char *cid)
441 strlcat(cid_buf, cid, PATH_MAX) >= PATH_MAX) {
580 "-o net=<addr>,cid=<cid>,type=<%s|%s|%s>]\n"
581 " %s -d [-m | -c -o net=<addr>,cid=<cid>,"
593 * network number and cid values.
617 char *cid = NULL;
659 if (process_option(optarg, &net, &cid, &ka) != 0) {
704 cid, !display) != KEYGEN_SUCCESS) {
738 if (cid == NULL) {
739 cid = default_cid;
741 if (client_gen_key(filename, &ka, net, cid) != KEYGEN_SUCCESS) {