Skip to main content

signing_payload

Method
This is a method of the DeviceAuth class in the protocols module.
Canonical bytes the device signs and the gateway verifies. Binds the nonce to this device, the signing time and the target agent so a captured proof cannot be replayed for another device or agent.

Signature

Parameters

str
required
No description available.

Returns

bytes
The result of the operation.

Uses

  • encode

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 390