MLSClientImpl

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open suspend override fun close()

Free up any resources and shutdown the client.

Link copied to clipboard
open suspend override fun getCredentialRef(credentialType: CredentialType): CryptoCredentialRef?

Return a reference to the newest installed credential of the requested type.

Link copied to clipboard
open suspend override fun getCredentialRefs(credentialType: CredentialType): List<CryptoCredentialRef>

Return references to all installed credentials of the requested type, newest first.

Link copied to clipboard

Get the default ciphersuite for the client. the Default ciphersuite is set when creating the mls client.

Link copied to clipboard
open suspend override fun getGroupState(groupId: MLSGroupId): E2EIConversationState

Conversation E2EI verification status.

Link copied to clipboard
open suspend override fun getPublicKey(): <Error class: unknown class><ByteArray, MLSCiphersuite>

Public key of the client's identity.

Link copied to clipboard
open suspend override fun getUserIdentities(groupId: MLSGroupId, users: List<CryptoQualifiedID>): Map<String, List<WireIdentity>>

Get user identities in a conversation.

Link copied to clipboard
open suspend override fun initializeBasicCredential(): <Error class: unknown class>

Adds a Basic credential when this client has no credential for its default cipher suite.

Link copied to clipboard
open suspend override fun <R> transaction(name: String, block: suspend (context: MlsCoreCryptoContext) -> R): R

Runs a block of code inside a CoreCrypto transaction.