SessionCipher class

Constructors

SessionCipher(SessionStore _sessionStore, PreKeyStore _preKeyStore, SignedPreKeyStore signedPreKeyStore, IdentityKeyStore _identityKeyStore, SignalProtocolAddress _remoteAddress)
SessionCipher.fromStore(SignalProtocolStore store, SignalProtocolAddress remoteAddress)

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

decrypt(PreKeySignalMessage ciphertext) Future<Uint8List>
decryptFromSignal(SignalMessage cipherText) Future<Uint8List>
decryptFromSignalWithCallback(SignalMessage cipherText, DecryptionCallback? callback) Future<Uint8List>
decryptWithCallback(PreKeySignalMessage ciphertext, DecryptionCallback? callback) Future<Uint8List>
encrypt(Uint8List paddedMessage) Future<CiphertextMessage>
getCiphertext(MessageKeys messageKeys, Uint8List plaintext) Uint8List
getRemoteRegistrationId() Future<int>
getSessionVersion() Future<int>
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

Static Properties

sessionLock Object
final