Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard

Issue an E2EI certificate and re-initiate the MLSClient

Link copied to clipboard

Trigger the checking and updating MLS Conversations Verification status.

Link copied to clipboard

Check and update MLS Conversations Verification status. Notify user (by adding System message in conversation) if needed about changes.

Link copied to clipboard
internal class FetchMLSVerificationStatusUseCaseImpl(conversationRepository: ConversationRepository, persistMessage: PersistMessageUseCase, mlsClientProvider: MLSClientProvider, mlsConversationRepository: MLSConversationRepository, selfUserId: <Error class: unknown class>, userRepository: UserRepository, kaliumLogger: <Error class: unknown class>) : FetchMLSVerificationStatusUseCase
Link copied to clipboard

This use case is used to get the e2ei certificates of all the users in Conversation. Return Map where keys are UserId and values - nullable CertificateStatus of corresponding user.

Link copied to clipboard

This use case is used to get the e2ei certificate

Link copied to clipboard

This use case is used to get all MLSClientIdentities of the user. Returns Map where key is value of ClientId and MLSClientIdentity is certificate itself

Link copied to clipboard

This use case is used to get the e2ei certificate status of specific user

Link copied to clipboard

Use case to observe certificate revocation for self client.

internal class ObserveCertificateRevocationForSelfClientUseCaseImpl(userConfigRepository: UserConfigRepository, currentClientIdProvider: CurrentClientIdProvider, getE2eiCertificate: GetMLSClientIdentityUseCase, kaliumLogger: <Error class: unknown class>) : ObserveCertificateRevocationForSelfClientUseCase

Observes all the MLS Conversations epoch changes and call to re-check Verification status.

internal class ObserveE2EIConversationsVerificationStatusesUseCaseImpl(fetchMLSVerificationStatus: FetchMLSVerificationStatusUseCase, epochChangesObserver: EpochChangesObserver, kaliumLogger: <Error class: unknown class>) : ObserveE2EIConversationsVerificationStatusesUseCase
Link copied to clipboard
typealias UserToWireIdentity = Map<<Error class: unknown class>, List<<Error class: unknown class>>>
Link copied to clipboard
data class VerificationStatusData(val conversationId: <Error class: unknown class>, val currentPersistedStatus: <Error class: unknown class>, val newStatus: <Error class: unknown class>)

Functions

Link copied to clipboard
fun List<<Error class: unknown class>>.isUserMLSVerified(nameAndHandle: NameAndHandle?): Boolean