init_copy


Description:

public void init_copy (Attribute src)

Initialize a PKCS#11 attribute as a copy of another attribute.

This copies the value memory as well.

When done with the copied attribute you should use [methodAttribute.clear] to free the internal memory.

Parameters:

this

An uninitialized attribute.

src

An attribute to copy.