Gck.Object.prototype.get_template
function get_template(attr_type: Number(gulong), cancellable: Gio.Cancellable): Gck.Attributes { // Gjs wrapper for gck_object_get_template() }
Get an attribute template from the object. The attr_type must be for an attribute which returns a template.
This call may block for an indefinite period.
- attr_type
The template attribute type.
- cancellable
Optional cancellation object, or NULL.
- Returns
the resulting PKCS\#11 attribute template, or null if an error occurred