Current Application ID functions

These functions can be used to obtain and manipulate the PID (process ID) and OID (Originator ID - currently unused) of the calling application.

Normally, SVC_GetPid() and SVC_GetOid() functions are used to obtain these values. However, in patched PKCS#11 functions, the necessary value of token is not available; the provided functions must be used instead.

>FM_GetCurrentPid

>FM_GetCurrentOid

>FM_SetCurrentPid

>FM_SetCurrentOid