[][src]Type Definition pkcs11::functions::C_OpenSession

type C_OpenSession = extern "C" fn(slotID: CK_SLOT_ID, flags: CK_FLAGS, pApplication: CK_VOID_PTR, Notify: CK_NOTIFY, phSession: CK_SESSION_HANDLE_PTR) -> CK_RV;

C_OpenSession opens a session between an application and a token.

Function Parameters

  • slotID: the slot's ID
  • flags: from CK_SESSION_INFO
  • pApplication: passed to callback
  • Notify: callback function
  • phSession: gets session handle