at_assign

Assign one attribute value to another.  Attribute types and lengths have to match up.

Synopsis

CK_RV at_assign(
CK_ATTRIBUTE * tgtNa,
const CK_ATTRIBUTE * srcNa);
Parameter Description
tgtNa Target attribute
srcNa Source attribute

To determine the length of tgtNa->pValue required, set tgtNa->pValue to NULL and check tgtNa->valueLen after invocation.