nitrokey.nk3

Submodules

Accessing Nitrokey 3 Devices

nitrokey.nk3.list()
返回类型:

List[NK3 | NK3Bootloader]

nitrokey.nk3.open(path)
参数:

path (str)

返回类型:

NK3 | NK3Bootloader | None

Nitrokey 3 Objects

class nitrokey.nk3.NK3

基类:TrussedDevice

运行固件的 Nitrokey 3 设备。

__init__(device)
参数:

device (CtapHidDevice)

返回类型:

None

classmethod from_device(device)
参数:

device (CtapHidDevice)

返回类型:

NK3

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

基类:TrussedBootloader

static list()
返回类型:

List[NK3Bootloader]

static open(path)
参数:

path (str)

返回类型:

NK3Bootloader | None