at_assign

Synopsis

CK_RV at_assign(
CK_ATTRIBUTE * tgtNa,
const CK_ATTRIBUTE * srcNa);

Description

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

Parameters

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.