CombinedHandshake

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()

Constructors

Link copied to clipboard
constructor(session: EdhocOscoreSession, security: CombinedRequestSecurity)

Properties

Link copied to clipboard

protects requests with that context; the first one also completes the handshake on the server.

Link copied to clipboard

the EDHOC session and the OSCORE context derived from it.

Functions

Link copied to clipboard

session, for destructuring.

Link copied to clipboard

security, for destructuring.