CT_WriteObject
Set the value of an object.
Synopsis
CK_RV CT_WriteObject(
CK_SESSION_HANDLE hSession,
CK_OBJECT_HANDLE hObj,
const unsigned char * buf,
unsigned int len,
unsigned int * pbr);
| Parameter | Description | 
|---|---|
| hSession | Open session on the slot containing the object | 
| hObj | Object whose value is to be set | 
| buf | Value of the object to set | 
| len | :ength of buf | 
| pbr | Reference to int to hold number of bytes copied from buf | 
On successful return
*pbr — set to equal len