nitrokey.nk3

Submodules

Accessing Nitrokey 3 Devices

nitrokey.nk3.list()
Atgriežamais tips:

List[NK3 | NK3Bootloader]

nitrokey.nk3.open(path)
Parametri:

path (str)

Atgriežamais tips:

NK3 | NK3Bootloader | None

Nitrokey 3 Objects

class nitrokey.nk3.NK3

Bases: TrussedDevice

A Nitrokey 3 device running the firmware.

__init__(device)
Parametri:

device (CtapHidDevice)

Atgriežamais tips:

None

classmethod from_device(device)
Parametri:

device (CtapHidDevice)

Atgriežamais tips:

NK3

property name: str
property pid: int
class nitrokey.nk3.NK3Bootloader

Bases: TrussedBootloader

static list()
Atgriežamais tips:

List[NK3Bootloader]

static open(path)
Parametri:

path (str)

Atgriežamais tips:

NK3Bootloader | None