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::Extension
wrapper. - Extension
List - A
mls_rs::ExtensionList
wrapper. - Group
- An MLS end-to-end encrypted group.
- Join
Info - A
mls_rs::Group
andmls_rs::group::NewMemberInfo
wrapper. - Member
Update - Update of a member due to a commit.
- Message
- A
mls_rs::MlsMessage
wrapper. - 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::SignaturePublicKey
wrapper. - Signature
Secret Key - A
mls_rs::crypto::SignatureSecretKey
wrapper. - Signing
Identity
Enums§
- Cipher
Suite - Supported cipher suites.
- Error
- Protocol
Version - Received
Message - A
mls_rs::group::ReceivedMessage
wrapper.
Functions§
- generate_
signature_ keypair - Generate a MLS signature keypair.