nitrokey.nkpk¶
Accessing Nitrokey Passkey Devices¶
- nitrokey.nkpk.list()¶
- 返回类型:
List[NKPK | NKPKBootloader]
- nitrokey.nkpk.open(path)¶
- 参数:
path (str)
- 返回类型:
NKPK | NKPKBootloader | None
Nitrokey Passkey Objects¶
- class nitrokey.nkpk.NKPK¶
-
- __init__(device)¶
- 参数:
device (CtapHidDevice)
- 返回类型:
None
- property name: str¶
- property pid: int¶
- class nitrokey.nkpk.NKPKBootloader¶
基类:
TrussedBootloaderNrf52
- classmethod list()¶
- 返回类型:
List[NKPKBootloader]
- classmethod open(path)¶
- 参数:
path (str)
- 返回类型:
NKPKBootloader | None
- property name: str¶
- property pid: int¶