Message3
What EdhocInitiator.createMessage3 returns: message_3 to send (RFC 9528 §5.4.2) and the session it completes, so no caller has to read a nullable EdhocInitiator.session.
val (message3, session) = initiator.createMessage3()Content copied to clipboard
RFC 9528 §5.4.2 advises the Initiator not to persist the session's keys until message_4, or a protected message from the Responder, has been verified.