Gck.Attribute.new_empty

function new_empty(attr_type: Number(gulong)): Gck.Attribute {
    // Gjs wrapper for gck_attribute_new_empty()
}
  

Create a new PKCS\#11 attribute with empty data.

attr_type

the PKCS\#11 attribute type to set on the attribute

Returns

the new attribute; when done with the attribute use Gck.Attribute.prototype.free to free it