SetAttr
Set a single attribute of an object.
Synopsis
CK_RV SetAttr(
CK_SESSION_HANDLE hSession,
CK_OBJECT_HANDLE obj,
CK_ATTRIBUTE_TYPE type,
const CK_VOID_PTR buf,
CK_SIZE len);
| Parameter | Description | 
|---|---|
| hSession | Open session on the slot containing the object | 
| obj | Object whose attribute is to be retrieved | 
| type | Attribute to retrieve | 
| buf | Contains the attribute value to set | 
| len | Number of bytes referenced by buf |