MLSConversationDataSource

internal class MLSConversationDataSource(selfUserId: <Error class: unknown class>, keyPackageRepository: KeyPackageRepository, mlsClientProvider: MLSClientProvider, mlsMessageApi: <Error class: unknown class>, conversationDAO: <Error class: unknown class>, clientApi: <Error class: unknown class>, syncManager: SyncManager, mlsPublicKeysRepository: MLSPublicKeysRepository, commitBundleEventReceiver: CommitBundleEventReceiver, epochsFlow: <Error class: unknown class><<Error class: unknown class>>, proposalTimersFlow: <Error class: unknown class><<Error class: unknown class>>, keyPackageLimitsProvider: KeyPackageLimitsProvider, revocationListChecker: RevocationListChecker, certificateRevocationListRepository: CertificateRevocationListRepository, idMapper: IdMapper = MapperProvider.idMapper(), conversationMapper: ConversationMapper = MapperProvider.conversationMapper(selfUserId), mlsCommitBundleMapper: MLSCommitBundleMapper = MapperProvider.mlsCommitBundleMapper(), kaliumDispatcher: <Error class: unknown class> = KaliumDispatcherImpl) : MLSConversationRepository

Constructors

Link copied to clipboard
constructor(selfUserId: <Error class: unknown class>, keyPackageRepository: KeyPackageRepository, mlsClientProvider: MLSClientProvider, mlsMessageApi: <Error class: unknown class>, conversationDAO: <Error class: unknown class>, clientApi: <Error class: unknown class>, syncManager: SyncManager, mlsPublicKeysRepository: MLSPublicKeysRepository, commitBundleEventReceiver: CommitBundleEventReceiver, epochsFlow: <Error class: unknown class><<Error class: unknown class>>, proposalTimersFlow: <Error class: unknown class><<Error class: unknown class>>, keyPackageLimitsProvider: KeyPackageLimitsProvider, revocationListChecker: RevocationListChecker, certificateRevocationListRepository: CertificateRevocationListRepository, idMapper: IdMapper = MapperProvider.idMapper(), conversationMapper: ConversationMapper = MapperProvider.conversationMapper(selfUserId), mlsCommitBundleMapper: MLSCommitBundleMapper = MapperProvider.mlsCommitBundleMapper(), kaliumDispatcher: <Error class: unknown class> = KaliumDispatcherImpl)

Functions

Link copied to clipboard
open suspend override fun addMemberToMLSGroup(groupID: <Error class: unknown class>, userIdList: List<<Error class: unknown class>>, cipherSuite: <Error class: unknown class>): Either<CoreFailure, Unit>
Link copied to clipboard
open suspend override fun commitPendingProposals(groupID: <Error class: unknown class>): Either<CoreFailure, Unit>
Link copied to clipboard
open suspend override fun decryptMessage(message: ByteArray, groupID: <Error class: unknown class>): Either<CoreFailure, List<DecryptedMessageBundle>>
Link copied to clipboard
open suspend override fun establishMLSGroup(groupID: <Error class: unknown class>, members: List<<Error class: unknown class>>, publicKeys: <Error class: unknown class>?, allowSkippingUsersWithoutKeyPackages: Boolean): Either<CoreFailure, MLSAdditionResult>

Establishes an MLS (Messaging Layer Security) group with the specified group ID and members.

Link copied to clipboard
open suspend override fun establishMLSSubConversationGroup(groupID: <Error class: unknown class>, parentId: <Error class: unknown class>): Either<CoreFailure, Unit>
Link copied to clipboard
open suspend override fun getClientIdentity(clientId: <Error class: unknown class>): <Error class: unknown class>
Link copied to clipboard
open suspend override fun getMembersIdentities(conversationId: <Error class: unknown class>, userIds: List<<Error class: unknown class>>): Either<CoreFailure, Map<<Error class: unknown class>, List<<Error class: unknown class>>>>
open suspend override fun getMLSGroupsRequiringKeyingMaterialUpdate(threshold: <Error class: unknown class>): Either<CoreFailure, List<<Error class: unknown class>>>
Link copied to clipboard
open suspend override fun getUserIdentity(userId: <Error class: unknown class>): <Error class: unknown class>
Link copied to clipboard
open suspend override fun hasEstablishedMLSGroup(groupID: <Error class: unknown class>): Either<CoreFailure, Boolean>
Link copied to clipboard
open suspend override fun isGroupOutOfSync(groupID: <Error class: unknown class>, currentEpoch: <Error class: unknown class>): Either<CoreFailure, Boolean>
Link copied to clipboard
open suspend override fun joinGroupByExternalCommit(groupID: <Error class: unknown class>, groupInfo: ByteArray): Either<CoreFailure, Unit>
Link copied to clipboard
open suspend override fun leaveGroup(groupID: <Error class: unknown class>): Either<CoreFailure, Unit>
Link copied to clipboard
open suspend override fun observeProposalTimers(): <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open suspend override fun removeClientsFromMLSGroup(groupID: <Error class: unknown class>, clientIdList: List<<Error class: unknown class>>): Either<CoreFailure, Unit>
Link copied to clipboard
open suspend override fun removeMembersFromMLSGroup(groupID: <Error class: unknown class>, userIdList: List<<Error class: unknown class>>): Either<CoreFailure, Unit>
Link copied to clipboard
open suspend override fun requestToJoinGroup(groupID: <Error class: unknown class>, epoch: <Error class: unknown class>): Either<CoreFailure, Unit>
Link copied to clipboard
open suspend override fun rotateKeysAndMigrateConversations(clientId: <Error class: unknown class>, e2eiClient: <Error class: unknown class>, certificateChain: String, isNewClient: Boolean): Either.Left<E2EIFailure.MissingMLSClient>
Link copied to clipboard
open suspend override fun setProposalTimer(timer: <Error class: unknown class>, inMemory: Boolean)
Link copied to clipboard
open suspend override fun updateKeyingMaterial(groupID: <Error class: unknown class>): Either<CoreFailure, Unit>