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

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.

Properties

Link copied to clipboard

A copy of the message_3 bytes to send to the Responder.

Link copied to clipboard

The completed session: PRK_out, the exporter, the authenticated Responder.

Functions

Link copied to clipboard
operator fun component1(): ByteArray
Link copied to clipboard
operator fun component2(): EdhocSession
Link copied to clipboard
open override fun toString(): String