Gck.Object.prototype.set

function set(attrs: Gck.Attributes, cancellable: Gio.Cancellable): Boolean {
    // Gjs wrapper for gck_object_set()
}
  

Set PKCS\#11 attributes on an object. This call may block for an indefinite period.

If the attrs Gck.Attributes is floating, it is consumed.

attrs

The attributes to set on the object.

cancellable

Optional cancellable object, or NULL to ignore.

Returns

Whether the call was successful or not.