Olm Encryption Service
interface OlmEncryptionService
Functions
Link copied to clipboard
abstract suspend fun decryptMegolm(encryptedEvent: Event.RoomEvent<EncryptedEventContent.MegolmEncryptedEventContent>): DecryptedMegolmEvent<*>
Link copied to clipboard
abstract suspend fun decryptOlm(encryptedContent: EncryptedEventContent.OlmEncryptedEventContent, senderId: UserId): DecryptedOlmEvent<*>
Link copied to clipboard
abstract suspend fun encryptMegolm(content: MessageEventContent, roomId: RoomId, settings: EncryptionEventContent): EncryptedEventContent.MegolmEncryptedEventContent
Link copied to clipboard
abstract suspend fun encryptOlm(content: EventContent, receiverId: UserId, deviceId: String, forceNewSession: Boolean = false): EncryptedEventContent.OlmEncryptedEventContent