Name

FC_GetSessionInfo - obtain information about a session.

Syntax

CK_RV FC_GetSessionInfo(
  CK_SESSION_HANDLE hSession,
  CK_SESSION_INFO_PTR pInfo
);

Parameters

hSession
[in] the open session handle.
pInfo
[out] pointer to the CK_SESSION_INFO structure to be returned.

Description

FC_GetSessionInfo obtains information about a session. A user may call FC_GetSessionInfo without logging into the token (to assume the NSS User role).

If the NSS cryptographic module is in the error state, FC_GetSessionInfo returns CKR_DEVICE_ERROR. Otherwise, it fills in the CK_SESSION_INFO structure with the following information:

Return value

Examples

See also