Attribute.boolean


Description:

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

Initialize a PKCS#11 attribute to boolean.

This will result in a CK_BBOOL attribute from the PKCS#11 specs.

Parameters:

attr_type

the PKCS#11 attribute type to set on the attribute

value

the boolean value of the attribute

Returns:

the new attribute; when done with the attribute u free to free it