Olm.Session (olm v0.1.0-rc) View Source
Functions for working with Olm Sessions.
Link to this section Summary
Functions
Decrypts a message using the session.
Encrypts a message using the session.
An identifier for this session.
Checks if the pre key message is for this in-bound session.
Checks if the pre key message is for this in-bound session and includes an identity key check.
Creates a new in-bound session for sending/receiving messages from an incoming pre key message.
Creates a new in-bound session for sending/receiving messages from an incoming pre key message and includes an identity key check.
Creates a new out-bound session for sending messages to a given peer identity key and one time key.
Stores a session as a base64 string.
Loads a session from a pickled base64 string.
Link to this section Functions
Decrypts a message using the session.
Encrypts a message using the session.
An identifier for this session.
Will be the same for both ends of the conversation.
Checks if the pre key message is for this in-bound session.
Checks if the pre key message is for this in-bound session and includes an identity key check.
Creates a new in-bound session for sending/receiving messages from an incoming pre key message.
Creates a new in-bound session for sending/receiving messages from an incoming pre key message and includes an identity key check.
Creates a new out-bound session for sending messages to a given peer identity key and one time key.
Stores a session as a base64 string.
Loads a session from a pickled base64 string.