FindAttribute

Find the first attribute of the specified type in an attribute template.

Synopsis

CK_ATTRIBUTE * FindAttribute(
CK_ATTRIBUTE_TYPE attrType,
const CK_ATTRIBUTE * attr,
CK_COUNT attrCount);
Parameter Description
attrType Type of the attribute to locate
attr Attribute temple (that is, array of CK_ATTRIBUTE)
attrCount Number of attributes referenced by attr

On Successful Return

Return a pointer to the attribute of the specified type.