Gck.Attribute.new_date
function new_date(attr_type: Number(gulong), value: GLib.Date): Gck.Attribute { // Gjs wrapper for gck_attribute_new_date() }
Initialize a PKCS\#11 attribute to a date. This will result in a CK_DATE attribute from the PKCS\#11 specs.
- attr_type
the PKCS\#11 attribute type to set on the attribute
- value
the date value of the attribute
- Returns
the new attribute; when done with the attribute u Gck.Attribute.prototype.free to free it