processMessage3

suspend fun processMessage3(message3: ByteArray): EdhocSession(source)

Processes message_3 (RFC 9528 §5.4.3): decrypts PLAINTEXT_3, hands EAD_3 to the EadHandler, resolves ID_CRED_I and verifies Signature_or_MAC_3. On success the state machine is EdhocPhase.COMPLETED and returns the session, which session returns afterwards too.