dup


Description:

public Attribute dup ()

Duplicate the PKCS#11 attribute.

All value memory is also copied.

The this must have been allocated or initialized by a Gck function or the results of this function are undefined.

Parameters:

this

the attribute to duplicate

Returns:

the duplicated attribute; use free to free it