Module matrix_sdk_crypto::olm[][src]

Expand description

The crypto specific Olm objects.

Note: You’ll only be interested in these if you are implementing a custom CryptoStore.

Structs

A typed representation of a base64 encoded string containing the account pickle.

Struct representing the state of our private cross signing keys, it shows which private cross signing keys we have locally stored.

Settings for an encrypted room.

An exported version of a InboundGroupSession

Struct representing the parsed result of OlmAccount::identity_keys().

Inbound group session.

The typed representation of a base64 encoded string of the GroupSession pickle.

A hash of a successfully decrypted Olm message.

Outbound group session.

A pickled version of an Account.

The pickled version of a PrivateCrossSigningIdentity.

A pickled version of an InboundGroupSession.

A pickled version of an InboundGroupSession.

A pickled version of a Session.

Private cross signing identity.

Account holding identity keys for which sessions can be created.

Cryptographic session that enables secure communication between two Accounts

The typed representation of a base64 encoded string of the Olm Session pickle.

Struct holding info about the share state of a outbound group session.

Enums

Used for setting the encryption parameter for pickling (serialisation) functions. Unencrypted is functionally equivalent to Encrypted{key: [].to_vec() }, but is much more clear. Pickling modes have to be equivalent for pickling and unpickling operations to succeed. Encrypted takes ownership of key, in order to properly destroy it after use.