CT_CreatePublicObject

Create a public token object of the specified class with the defined label.

Synopsis

CK_RV CT_CreatePublicObject(
CK_SESSION_HANDLE hSession,
CK_OBJECT_CLASS cl,
char * name,
CK_OBJECT_HANDLE * phObj);
Parameter Description
hSession Open session on the slot to create the object in
cl Class of the object
name Label of the object
phObj Reference to object handle to hold created object

On successful return

*phObj — handle to the newly created object