Crate mls_rs_uniffi

Source
Expand description

UniFFI-compatible wrapper around mls-rs.

This is an opinionated UniFFI-compatible wrapper around mls-rs:

  • Opinionated: the wrapper removes some flexiblity from mls-rs and focuses on exposing the minimum functionality necessary for messaging apps.

  • UniFFI-compatible: the wrapper exposes types annotated to be used with UniFFI. This makes it possible to automatically generate a Kotlin, Swift, … code which calls into the Rust code.

Structs§

Client
An MLS client used to create key packages and manage groups.
CommitOutput
Extension
A mls_rs::Extension wrapper.
ExtensionList
A mls_rs::ExtensionList wrapper.
Group
An MLS end-to-end encrypted group.
JoinInfo
A mls_rs::Group and mls_rs::group::NewMemberInfo wrapper.
MemberUpdate
Update of a member due to a commit.
Message
A mls_rs::MlsMessage wrapper.
Proposal
RatchetTree
RosterUpdate
A set of roster updates due to a commit.
SignatureKeypair
A (SignaturePublicKey, SignatureSecretKey) pair.
SignaturePublicKey
A mls_rs::crypto::SignaturePublicKey wrapper.
SignatureSecretKey
A mls_rs::crypto::SignatureSecretKey wrapper.
SigningIdentity

Enums§

CipherSuite
Supported cipher suites.
Error
ProtocolVersion
ReceivedMessage
A mls_rs::group::ReceivedMessage wrapper.

Functions§

generate_signature_keypair
Generate a MLS signature keypair.