InMemorySignalProtocolStore class
- Implemented types
Constructors
- InMemorySignalProtocolStore(IdentityKeyPair identityKeyPair, int registrationId)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- preKeyStore → InMemoryPreKeyStore
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessionStore → InMemorySessionStore
-
final
- signedPreKeyStore → InMemorySignedPreKeyStore
-
final
Methods
-
containsPreKey(
int preKeyId) → Future< bool> -
override
-
containsSession(
SignalProtocolAddress address) → Future< bool> -
override
-
containsSignedPreKey(
int signedPreKeyId) → Future< bool> -
override
-
deleteAllSessions(
String name) → Future< void> -
override
-
deleteSession(
SignalProtocolAddress address) → Future< void> -
override
-
getIdentity(
SignalProtocolAddress address) → Future< IdentityKey?> -
override
-
getIdentityKeyPair(
) → Future< IdentityKeyPair> -
override
-
getLocalRegistrationId(
) → Future< int> -
override
-
getSubDeviceSessions(
String name) → Future< List< int> > -
override
-
isTrustedIdentity(
SignalProtocolAddress address, IdentityKey? identityKey, Direction direction) → Future< bool> -
override
-
loadPreKey(
int preKeyId) → Future< PreKeyRecord> -
override
-
loadSession(
SignalProtocolAddress address) → Future< SessionRecord> -
override
-
loadSignedPreKey(
int signedPreKeyId) → Future< SignedPreKeyRecord> -
override
-
loadSignedPreKeys(
) → Future< List< SignedPreKeyRecord> > -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removePreKey(
int preKeyId) → Future< void> -
override
-
removeSignedPreKey(
int signedPreKeyId) → Future< void> -
override
-
saveIdentity(
SignalProtocolAddress address, IdentityKey? identityKey) → Future< bool> -
override
-
storePreKey(
int preKeyId, PreKeyRecord record) → Future< void> -
override
-
storeSession(
SignalProtocolAddress address, SessionRecord record) → Future< void> -
override
-
storeSignedPreKey(
int signedPreKeyId, SignedPreKeyRecord record) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited