Attribute.string


Description:

[ CCode ( has_construct_function = false ) ]
public Attribute.string (ulong attr_type, string value)

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




2022 vala-language.org