decryptMessage

abstract suspend fun decryptMessage(groupId: String, message: ByteArray): MLSDecryptResult

Decrypt an application message or a handshake message

NOTE: handshake messages doesn't return any decrypted message.

Return

the decrypted messages or the reason the message was buffered.

Parameters

groupId

MLS group where the message was received

message

application message or handshake message