Ergonomic facade over the generated session binding.
Two devices that already know each other's public keys can agree on a session
key without ever sending it, and then exchange messages that are confidential,
cannot be altered undetected, and cannot be replayed. That is the whole of
what a small device usually needs from transport security, at a fraction of
what a TLS stack costs it.
The role is re-exported as a runtime Role object, because the
generated enum is types-only.
Ergonomic facade over the generated session binding.
Two devices that already know each other's public keys can agree on a session key without ever sending it, and then exchange messages that are confidential, cannot be altered undetected, and cannot be replayed. That is the whole of what a small device usually needs from transport security, at a fraction of what a TLS stack costs it.
The role is re-exported as a runtime Role object, because the generated enum is types-only.