E2EIRepositoryImpl

internal class E2EIRepositoryImpl(e2EIApi: E2EIApi, acmeApi: ACMEApi, pkiHttpClient: HttpClient, x509CredentialAcquisitionConfigProvider: X509CredentialAcquisitionConfigProvider, mlsClientProvider: MLSClientProvider, currentClientIdProvider: CurrentClientIdProvider, mlsConversationRepository: MLSConversationRepository, userConfigRepository: UserConfigRepository, selfUserId: UserId, cryptoStateChangeHookNotifier: CryptoStateChangeHookNotifier) : E2EIRepository

Constructors

Link copied to clipboard
constructor(e2EIApi: E2EIApi, acmeApi: ACMEApi, pkiHttpClient: HttpClient, x509CredentialAcquisitionConfigProvider: X509CredentialAcquisitionConfigProvider, mlsClientProvider: MLSClientProvider, currentClientIdProvider: CurrentClientIdProvider, mlsConversationRepository: MLSConversationRepository, userConfigRepository: UserConfigRepository, selfUserId: UserId, cryptoStateChangeHookNotifier: CryptoStateChangeHookNotifier)

Functions

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