CT_OpenObject

Get a handle to an object with the specified class and label.  This function returns the first object satisfying the criteria.

Synopsis

CK_RV CT_OpenObject(
CK_SESSION_HANDLE hSession,
CK_OBJECT_CLASS cl,
char * name,
CK_OBJECT_HANDLE * phObj);
Parameter Description
hSession open session on the slot containing the object
cl class of the object
name label of the object
phObj reference to object handle to hold opened object

On successful return

*phObj — handle to the opened object