E2EIRepository

internal interface E2EIRepository

Inheritors

Functions

Link copied to clipboard
abstract suspend fun acquireCredential(authenticate: suspend (E2EIAuthenticationRequest) -> String, groupIdListProvider: suspend () -> List<GroupID>, isNewClient: Boolean): Either<E2EIFailure, E2EIRotationCheckpoint>
Link copied to clipboard
abstract suspend fun checkCredentials(): Either<E2EIFailure, Unit>
Link copied to clipboard
abstract suspend fun discoveryUrl(): Either<E2EIFailure, String>
Link copied to clipboard
abstract suspend fun fetchAndAddTrustAnchors(): Either<E2EIFailure, Unit>
Link copied to clipboard
abstract suspend fun fetchFederationCertificates(): Either<E2EIFailure, Unit>
Link copied to clipboard
abstract suspend fun rotateKeysAndMigrateConversations(transactionProvider: CryptoTransactionProvider, checkpoint: E2EIRotationCheckpoint): Either<E2EIFailure, Unit>