MLSClientProvider

Functions

Link copied to clipboard
abstract suspend fun clearLocalFiles()
Link copied to clipboard
abstract suspend fun exportCryptoDB(exportPath: String): Either<CoreFailure, CryptoBackupMetadata>

Exports the cryptographic database to the specified path and returns the metadata required for backup restoration.

Link copied to clipboard
abstract suspend fun getCoreCrypto(clientId: ClientId? = null): Either<CoreFailure, CoreCryptoCentral>
Link copied to clipboard
abstract suspend fun getMLSClient(clientId: ClientId? = null): Either<CoreFailure, MLSClient>
Link copied to clipboard
abstract suspend fun getOrFetchMLSConfig(): Either<CoreFailure, SupportedCipherSuite>
Link copied to clipboard
abstract suspend fun isMLSClientInitialised(): Boolean