nitrokey.trussed.provisioner_app

class nitrokey.trussed.provisioner_app.Buffer

Základy: Enum

FILE = b'\xe1\x02'
FILENAME = b'\xe1\x01'
class nitrokey.trussed.provisioner_app.ProvisionerApp

Základy: object

__init__(device)
Parametry:

device (TrussedDevice)

Typ návratové hodnoty:

None

write_file(filename, data)
Parametry:
  • filename (bytes)

  • data (bytes)

Typ návratové hodnoty:

None

class nitrokey.trussed.provisioner_app.ProvisionerCommand

Základy: Enum

GET_UUID = 98
SELECT = 164
WRITE_BINARY = 208
WRITE_FILE = 191