Gck.Attribute.new_boolean

function new_boolean(attr_type: Number(gulong), value: Boolean): Gck.Attribute {
    // Gjs wrapper for gck_attribute_new_boolean()
}
  

Initialize a PKCS\#11 attribute to boolean. This will result in a CK_BBOOL attribute from the PKCS\#11 specs.

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 Gck.Attribute.prototype.free to free it