Attribute.string
Description:
Initialize a PKCS#11 attribute to a string.
This will result in an attribute containing the text, but not the null terminator. The text in the attribute will be of the same encoding as you pass to this function.
Parameters:
attr_type |
the PKCS#11 attribute type to set on the attribute |
value |
the null-terminated string value of the attribute |
Returns:
the new attribute; when done with the attribute u free to free it |