Gck.Slot.from_handle

function from_handle(module: Gck.Module, slot_id: Number(gulong)): Gck.Slot {
    // Gjs wrapper for gck_slot_from_handle()
}
  

Create a new GckSlot object for a raw PKCS\#11 handle.

module

The module that this slot is on.

slot_id

The raw PKCS\#11 handle or slot id of this slot.

Returns

The new GckSlot object.