The two devices must choose opposite roles: the role decides the order the
public keys are mixed in and which direction each side tags its messages
with, so a session where both sides claim the same role opens nothing.
Provided as a runtime object plus a matching string-union type.
Which side of a session a device is on.
The two devices must choose opposite roles: the role decides the order the public keys are mixed in and which direction each side tags its messages with, so a session where both sides claim the same role opens nothing.
Provided as a runtime object plus a matching string-union type.