Expand description
Built-in responder for the Identity Request MAC command.
When enabled on a LocalNode, the node answers a
matching Identity Request with a targeted authenticated unicast carrying
its own NodeIdentityPayload, echoing any request NONCE into identity
option 5. Responses are never signed and never fall back to broadcast: the
pairwise MIC, frame counter, and echoed nonce already make the reply
authentic and fresh, and a request whose source cannot be resolved to a key
is simply dropped by the MAC before the responder ever runs.
The application supplies a NodeIdentityProfile (its role, capabilities,
and descriptive fields) and, optionally, a respond policy — a
registerable discriminator that inspects the IdentityRequestContext and
decides whether, and how, to answer (e.g. “known peers only”, “only on a
given channel”, “repeater → always”). No signing key is required.
Structs§
- Identity
Request Context - Reception context for an incoming Identity Request, handed to the respond policy so it can decide whether — and how — to answer.
- Node
Identity Profile - This node’s own identity, used to answer Identity Requests.
Enums§
- Respond
Decision - A respond policy’s verdict for one Identity Request.
Functions§
- default_
respond_ policy - The default respond policy: answer every request that reached the policy.
- never_
respond_ policy - A respond policy that answers nothing.
Type Aliases§
- Respond
Policy - A registerable respond policy: given the request context, decide the verdict.