SessionKey class
Constructors
-
SessionKey({required Map<
String, dynamic> content, required InboundGroupSession? inboundGroupSession, required String key, Map<String, String> ? indexes, Map<String, Map< ? allowedAtIndex, required String roomId, required String sessionId, required String senderKey, required Map<String, int> >String, String> senderClaimedKeys}) - SessionKey.fromDb(StoredInboundGroupSession dbEntry, String key)
Properties
-
allowedAtIndex
↔ Map<
String, Map< String, int> > -
Map of userId to map of deviceId to index, that we know that device receivied, e.g. sending it ourself.
Used for automatically answering key requests
getter/setter pair
-
content
↔ Map<
String, dynamic> -
The raw json content of the key
getter/setter pair
-
forwardingCurve25519KeyChain
→ List<
String> -
Forwarding keychain
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- inboundGroupSession ↔ InboundGroupSession?
-
Underlying olm
InboundGroupSession
objectgetter/setter pair -
indexes
↔ Map<
String, String> -
Map of stringified-index to event id, so that we can detect replay attacks
getter/setter pair
- isValid → bool
-
Is this session valid?
no setter
- key → String
-
Key for libolm pickle / unpickle
final
- roomId ↔ String
-
roomId for this session
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
senderClaimedKeys
↔ Map<
String, String> -
Claimed keys of the original sender
getter/setter pair
- senderKey ↔ String
-
Sender curve25519 key
getter/setter pair
- sessionId ↔ String
-
Id of this session
getter/setter pair
Methods
-
dispose(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited