Encryption class
Methods
-
autovalidateMasterOwnKey()
→ Future<void>
-
-
bootstrap({void onUpdate(Bootstrap)?})
→ Bootstrap
-
-
decryptRoomEvent(String roomId, Event event, {bool store = false, EventUpdateType updateType = EventUpdateType.timeline})
→ Future<Event>
-
-
decryptRoomEventSync(String roomId, Event event)
→ Event
-
-
decryptToDeviceEvent(ToDeviceEvent event)
→ Future<ToDeviceEvent>
-
-
dispose()
→ Future<void>
-
-
encryptGroupMessagePayload(String roomId, Map<String, dynamic> payload, {String type = EventTypes.Message})
→ Future<Map<String, dynamic>>
-
Encrypts the given json payload and creates a send-ready m.room.encrypted
payload. This will create a new outgoingGroupSession if necessary.
-
encryptToDeviceMessage(List<DeviceKeys> deviceKeys, String type, Map<String, dynamic> payload)
→ Future<Map<String, Map<String, Map<String, dynamic>>>>
-
-
handleDeviceOneTimeKeysCount(Map<String, int>? countJson, List<String>? unusedFallbackKeyTypes)
→ void
-
-
handleEventUpdate(EventUpdate update)
→ Future<void>
-
-
handleToDeviceEvent(ToDeviceEvent event)
→ Future<void>
-
-
init(String? olmAccount, {String? deviceId, String? pickleKey, bool isDehydratedDevice = false})
→ Future<void>
-
-
isMinOlmVersion(int major, int minor, int patch)
→ bool
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
onSync()
→ void
-
-
toString()
→ String
-
A string representation of this object.
inherited