nitrokey.trussed.provisioner_app

class nitrokey.trussed.provisioner_app.Buffer

基类:Enum

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

基类:object

__init__(device)
参数:

device (TrussedDevice)

返回类型:

None

write_file(filename, data)
参数:
  • filename (bytes)

  • data (bytes)

返回类型:

None

class nitrokey.trussed.provisioner_app.ProvisionerCommand

基类:Enum

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