Attribute
Description:
[ CCode ( has_construct_function = false ) ]
public Attribute (ulong attr_type, uint8 value, size_t length)
public Attribute (ulong attr_type, uint8 value, size_t length)
Create a new PKCS#11 attribute.
The value will be copied into the new attribute.
Parameters:
attr_type |
the PKCS#11 attribute type to set on the attribute |
value |
the raw value of the attribute |
length |
the length of the attribute |
Returns:
the new attribute; when done with the attribute use free to free it |