Finishes an object search operation.
{
if( xResult == CKR_OK )
{
{
LogError( (
"Failed to end find objects operation. Find operation "
"must be initialized." ) );
xResult = CKR_OPERATION_NOT_INITIALIZED;
}
}
if( xResult == CKR_OK )
{
}
return xResult;
}
- See also
- C_FindObjectsInit(), C_FindObjects() which must be called before calling C_FindObjectsFinal().
- Note
- FindObjects parameters are shared by a session. Calling C_FindObjectsInit(), C_FindObjects(), and C_FindObjectsFinal() with the same session across different tasks may lead to unexpected results.
- Parameters
-
[in] | hSession | Handle of a valid PKCS #11 session. |
- Returns
- CKR_OK if successful.