SessionState class base

Inheritance

Constructors

SessionState()
SessionState.fromSessionState(SessionState copy)
SessionState.fromStructure(SessionStructure sessionStructure)

Properties

aliceBaseKey Uint8List
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
list LinkedList<SessionState>?
The linked list containing this element.
no setterinherited
localIdentityKey IdentityKey
no getter
localRegistrationId int
getter/setter pair
next SessionState?
The successor of this element in its linked list.
no setterinherited
previous SessionState?
The predecessor of this element in its linked list.
no setterinherited
previousCounter int
getter/setter pair
remoteIdentityKey IdentityKey
no getter
remoteRegistrationId int
getter/setter pair
rootKey ← RootKey
no getter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionVersion int
no getter
structure → SessionStructure
no setter

Methods

addReceiverChain(ECPublicKey senderRatchetKey, ChainKey chainKey) → void
clearUnacknowledgedPreKeyMessage() → void
getLocalIdentityKey() IdentityKey
getPendingKeyExchangeBaseKey() ECKeyPair
getPendingKeyExchangeIdentityKey() IdentityKeyPair
getPendingKeyExchangeRatchetKey() ECKeyPair
getPendingKeyExchangeSequence() int
getReceiverChainKey(ECPublicKey senderEphemeral) → ChainKey?
getRemoteIdentityKey() IdentityKey?
getRootKey() → RootKey
getSenderChainKey() → ChainKey
getSenderRatchetKey() ECPublicKey
getSenderRatchetKeyPair() ECKeyPair
getSessionVersion() int
getUnacknowledgedPreKeyMessageItems() UnacknowledgedPreKeyMessageItems
hasMessageKeys(ECPublicKey senderEphemeral, int counter) bool
hasPendingKeyExchange() bool
hasReceiverChain(ECPublicKey senderEphemeral) bool
hasSenderChain() bool
hasUnacknowledgedPreKeyMessage() bool
insertAfter(SessionState entry) → void
Insert an element after this element in this element's linked list.
inherited
insertBefore(SessionState entry) → void
Insert an element before this element in this element's linked list.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeMessageKeys(ECPublicKey senderEphemeral, int counter) → MessageKeys?
serialize() Uint8List
setMessageKeys(ECPublicKey senderEphemeral, MessageKeys messageKeys) → void
setPendingKeyExchange(int sequence, ECKeyPair ourBaseKey, ECKeyPair ourRatchetKey, IdentityKeyPair ourIdentityKey) → void
setReceiverChainKey(ECPublicKey senderEphemeral, ChainKey chainKey) → void
setSenderChain(ECKeyPair senderRatchetKeyPair, ChainKey chainKey) → void
setSenderChainKey(ChainKey nextChainKey) → void
setUnacknowledgedPreKeyMessage(Optional<int> preKeyId, int signedPreKeyId, ECPublicKey baseKey) → void
toString() String
A string representation of this object.
inherited
Unlink the element from its linked list.
inherited

Operators

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

Constants

maxMessageKeys → const int