nitrokey.trussed.provisioner_app

class nitrokey.trussed.provisioner_app.Buffer

Pagrindai: Enum

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

Pagrindai: object

__init__(device)
Parametrai:

device (TrussedDevice)

Grąžinamos reikšmės tipas:

None

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

  • data (bytes)

Grąžinamos reikšmės tipas:

None

class nitrokey.trussed.provisioner_app.ProvisionerCommand

Pagrindai: Enum

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