C_GetSessionInfo
This function operates as specified in PKCS#11 with the following exception
>Any non-zero ulDeviceError value is cleared by this operation.
Synopsis
C_GetSessionInfo( CK_SESSION_HANDLE hSession, CK_SESSION_INFO_PTR pInfo );
Operation in WLD Mode
When SafeNet ProtectToolkit is configured to operate in WLD mode, the following WLD specific information is returned in the CK_SESSION_INFO structure:
SlotID | The Slot Number specified for the virtual WLD Slot in environment variables ET_PTKC_WLD_SLOT_n. Refer to the SafeNet ProtectToolkit-C Administration Manual. |
Flags | The CKF_WLD_SESSION bit is set to indicate that it is a WLD Session. |