TransferAttr

Using at_assign, copy attribute values from one array to another.  The order of the attributes must be the same in both arrays.

Synopsis

CK_RV TransferAttr(
CK_ATTRIBUTE * pTgtTemplate,
const CK_ATTRIBUTE * pSrcTemplate,
CK_COUNT attrCount);
Parameter Description
pTgtTemplate Target attribute array
pSrcTemplate Source attribute array
attrCount Number of attributes to copy from source to target

On Successful Return

pTgtTemplate — contains copy of attribute values from pSrcTemplate