DupAttributes

Make a copy of an array of attributes. The returned attribute set is newly allocated. This memory needs to be released via a call to FreeAttributeSet.

Synopsis

TOK_ATTR_DATA * DupAttributes(
const CK_ATTRIBUTE * attr,
CK_COUNT attrCount);
Parameter Description
attr Attribute array to duplicate
attrCount Number of attributes in attr