SecureMessageFactory class abstract interface

Factory interface for parsing SecureMessage instances from serialized data.

Provides a method to reconstruct secure messages from their serialized Map/JSON representation, with proper validation of encrypted data and keys.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createSecureMessage(InstantMessage iMsg, Uint8List ciphertext, Map<ID, EncryptedBundle>? keyBundles) SecureMessage
Creates a secure message from instant message, adding 'data' and 'keys'.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseSecureMessage(Mapping msg) SecureMessage?
Parses a serialized Map into a SecureMessage instance.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited