DupAttributes

Synopsis

TOK_ATTR_DATA * DupAttributes(
const CK_ATTRIBUTE * attr,
CK_COUNT attrCount);

Description

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.

Parameters

attr

Attribute array to duplicate

attrCount

Number of attributes in attr