Lines Matching refs:label
220 * its label, manufacturer ID (if any), and serial number (if any). Literal
221 * colons within the label/manuf/serial can be escaped with a backslash.
227 * Furthermore, the token label is required always.
247 /* Token label (required) */
254 if (*(*token_name) == '\0') { /* token label is required */
291 kmf_pk11_token_lookup(KMF_HANDLE_T handle, char *label, CK_SLOT_ID *slot_id)
312 if (slot_id == NULL || label == NULL || !strlen(label))
327 tmplabel = strdup(label);
356 /* See if the token label matches. */
358 max_sz = sizeof (token_info.label);
359 if (memcmp_pad_max(&(token_info.label), max_sz, token_name,
487 * particular PKCS#11 token. Valid token label are required in order to
493 * label(input) - pointer to the token label
502 kmf_select_token(KMF_HANDLE_T handle, char *label, int readonly)
514 if (label == NULL) {
528 /* Find the token with matching label */
529 kmf_rv = kmf_pk11_token_lookup(handle, label, &slot_id);
571 * It is best to try and lookup tokens by label.
582 /* Initialize and set the new label (if given) */