nitrokey.trussed.provisioner_app

class nitrokey.trussed.provisioner_app.Buffer

Bases: Enum

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

Bases: object

__init__(device)
Parametri:

device (TrussedDevice)

Atgriežamais tips:

None

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

  • data (bytes)

Atgriežamais tips:

None

class nitrokey.trussed.provisioner_app.ProvisionerCommand

Bases: Enum

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