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.
this |
the builder |
attr_type |
the new attribute type |
value |
the new attribute memory |
length |
the length of the memory |