OmemoHelper

class OmemoHelper(omemoManager: OmemoManager, connection: XMPPConnection)

TOFU trust for OMEMO — auto-trust on first sight.

Constructors

Link copied to clipboard
constructor(omemoManager: OmemoManager, connection: XMPPConnection)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
suspend fun initialize(): Boolean

RFC 7627 — block until OMEMO device list is published before encrypting.

Link copied to clipboard
fun initializeAsync(onReady: () -> Unit = {})
Link copied to clipboard
fun sendEncrypted(remoteJid: String, body: String): Message
Link copied to clipboard
fun tryDecrypt(remoteJid: String, stanza: Message): String?