Core Crypto Client
A high-level wrapper around a CoreCrypto client as emitted by Uniffi.
This wrapper should be largely transparent to end users. It exists to improve the callback interfaces: .transaction(...)
, .registerFooObserver(...)
, etc.
Functions
Closes this CoreCrypto instance and deallocates all loaded resources.
See CoreCryptoContext.isHistorySharingEnabled
Provide an implementation of the MlsTransport interface. See MlsTransport.
Register an Epoch Observer which will be notified every time a conversation's epoch changes.
Register a History Observer which will be notified every time a new history client is created.
Starts a NonCancellable transaction in Core Crypto. If the callback succeeds, it will be committed, otherwise, every operation performed with the context will be discarded.