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

ベースクラス: TrussedDevice

__init__(device)
パラメータ:

device (CtapHidDevice)

戻り値の型:

None

classmethod from_device(device)
パラメータ:

device (CtapHidDevice)

戻り値の型:

NKPK

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