CombinedHandshake
class CombinedHandshake(val session: EdhocOscoreSession, val security: CombinedRequestSecurity)(source)
What EdhocClientHandshake.runCombined returns (RFC 9668 §3.2): the established session and the security whose first protected request carries message_3. Destructure it, or install security for the server with PeerSecurity.install:
val (session, security) = handshake.runCombined()Content copied to clipboard