WriteAttr

Add/Replace an attribute to an attribute set. Delete attribute if len is 0.

Synopsis

CK_RV WriteAttr(
const void * buf,
unsigned int len,
CK_ATTRIBUTE_TYPE attrType,
TOK_ATTR_DATA * attr);
Parameter Description
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