from_handle


Description:

public static Slot from_handle (Module module, ulong slot_id)

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

Parameters:

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.