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.
- Commit
Output - Extension
- A
mls_rs::Extensionwrapper. - Extension
List - A
mls_rs::ExtensionListwrapper. - Group
- An MLS end-to-end encrypted group.
- Join
Info - A
mls_rs::Groupandmls_rs::group::NewMemberInfowrapper. - Member
Update - Update of a member due to a commit.
- Message
- A
mls_rs::MlsMessagewrapper. - Proposal
- Ratchet
Tree - Roster
Update - A set of roster updates due to a commit.
- Signature
Keypair - A (
SignaturePublicKey,SignatureSecretKey) pair. - Signature
Public Key - A
mls_rs::crypto::SignaturePublicKeywrapper. - Signature
Secret Key - A
mls_rs::crypto::SignatureSecretKeywrapper. - Signing
Identity
Enums§
- Cipher
Suite - Supported cipher suites.
- Error
- Protocol
Version - Received
Message - A
mls_rs::group::ReceivedMessagewrapper.
Functions§
- generate_
signature_ keypair - Generate a MLS signature keypair.