Type Definition pkcs11::functions::C_OpenSession
source · pub 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;
Expand description
C_OpenSession
opens a session between an application and a token.
Function Parameters
slotID
: the slot’s IDflags
: from CK_SESSION_INFOpApplication
: passed to callbackNotify
: callback functionphSession
: gets session handle