Lines Matching refs:token
47 CK_TOKEN_INFO token;
258 if ((si->token.flags & CKF_LOGIN_REQUIRED) && !si->logged_in) {
260 error("need pin entry%s", (si->token.flags &
265 if (si->token.flags & CKF_PROTECTED_AUTHENTICATION_PATH)
269 "Enter PIN for '%s': ", si->token.label);
313 /* redirect private key operations for rsa key to pkcs11 token */
375 login_required = p->slotinfo[slotidx].token.flags & CKF_LOGIN_REQUIRED;
402 * lookup public keys for token in slot identified by slotidx,
601 CK_TOKEN_INFO *token;
671 token = &p->slotinfo[i].token;
672 if ((rv = f->C_GetTokenInfo(p->slotlist[i], token))
678 if ((token->flags & CKF_TOKEN_INITIALIZED) == 0) {
679 debug2("%s: ignoring uninitialised token in "
684 rmspace(token->label, sizeof(token->label));
685 rmspace(token->manufacturerID, sizeof(token->manufacturerID));
686 rmspace(token->model, sizeof(token->model));
687 rmspace(token->serialNumber, sizeof(token->serialNumber));
691 token->label, token->manufacturerID, token->model,
692 token->serialNumber, token->flags);