Gck.Object.from_handle
function from_handle(session: Gck.Session, object_handle: Number(gulong)): Gck.Object { // Gjs wrapper for gck_object_from_handle() }
Initialize a GckObject from a raw PKCS\#11 handle. Normally you would use Gck.Session.prototype.create_object or Gck.Session.prototype.find_objects to access objects.
- session
The session through which this object is accessed or created.
- object_handle
The raw CK_OBJECT_HANDLE of the object.
- Returns
The new GckObject. You should use g_object_unref() when done with this object.