Gck.Attribute.new_ulong

function new_ulong(attr_type: Number(gulong), value: Number(gulong)): Gck.Attribute {
    // Gjs wrapper for gck_attribute_new_ulong()
}
  

Initialize a PKCS\#11 attribute to a unsigned long. This will result in a CK_ULONG attribute from the PKCS\#11 specs.

attr_type

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

value

the ulong value of the attribute

Returns

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