CT_CreatePublicObject

Synopsis

CK_RV CT_CreatePublicObject(
CK_SESSION_HANDLE hSession,
CK_OBJECT_CLASS cl,
char * name,
CK_OBJECT_HANDLE * phObj);

Description

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

Parameters

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