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¶
-
运行固件的 Nitrokey 3 设备。
- __init__(device)¶
- 参数:
device (CtapHidDevice)
- 返回类型:
None
- property name: str¶
- property pid: int¶
- class nitrokey.nk3.NK3Bootloader¶
-
- static list()¶
- 返回类型:
List[NK3Bootloader]
- static open(path)¶
- 参数:
path (str)
- 返回类型:
NK3Bootloader | None