add_data


Description:

public void add_data (ulong attr_type, uint8[]? value)

Add a new attribute to the builder with an arbitrary value.

Unconditionally adds a new attribute, even if one with the same attr_type already exists.

The memory in value is copied by the builder.

null may be specified for the value argument, in which case an empty attribute is created. [constINVALID ] may be specified for the length, in which case an invalid attribute is created in the PKCS#11 style.

Parameters:

this

the builder

attr_type

the new attribute type

value

the new attribute memory

length

the length of the memory




2022 vala-language.org