← Prev in month ← Prev in thread

C_LoginUser

From
Tim Hudson <>
Date
2017-02-09T01:21:05+00:00
ID
Thread
C_LoginUser
A simple extension to C_Login to allow specification of a username for those devices which support multiple users.

/* C_LoginUser logs a user into a token. */

CK_PKCS11_FUNCTION_INFO(C_LoginUser)

#ifdef CK_NEED_ARG_LIST

(

  CK_SESSION_HANDLE hSession,  /* the session's handle */

  CK_USER_TYPE      userType,  /* the user type */

  CK_UTF8CHAR_PTR   pPin,      /* the user's PIN */

  CK_ULONG          ulPinLen   /* the length of the PIN */

  CK_UTF8CHAR_PTR   pUsername,      /* the user name  */

  CK_ULONG          ulUsernameLen   /* the length of the user name */

);

#endif

Tim.
← Prev in month ← Prev in thread