WriteAttr
Synopsis
CK_RV WriteAttr(
const void * buf,
unsigned int len,
CK_ATTRIBUTE_TYPE attrType,
TOK_ATTR_DATA * attr);
Description
Add/Replace an attribute to an attribute set. Delete attribute if len is 0.
Parameters
buf |
Value to add to attribute set |
len |
Number of bytes to add from buf |
attrType |
Type of attribute to add |
attr |
Attribute set to modify |
On Successful Return
attr — modified attribute set