KeyServiceImpl
class KeyServiceImpl(userInfo: UserInfo, keyStore: KeyStore, olmCryptoStore: OlmCryptoStore, globalAccountDataStore: GlobalAccountDataStore, roomService: RoomService, signService: SignService, keyBackupService: KeyBackupService, keyTrustService: KeyTrustService, api: MatrixClientServerApiClient, matrixClientConfiguration: MatrixClientConfiguration, driver: CryptoDriver) : KeyService
Constructors
Link copied to clipboard
constructor(userInfo: UserInfo, keyStore: KeyStore, olmCryptoStore: OlmCryptoStore, globalAccountDataStore: GlobalAccountDataStore, roomService: RoomService, signService: SignService, keyBackupService: KeyBackupService, keyTrustService: KeyTrustService, api: MatrixClientServerApiClient, matrixClientConfiguration: MatrixClientConfiguration, driver: CryptoDriver)
Functions
Link copied to clipboard
open suspend override fun bootstrapCrossSigning(recoveryKey: ByteArray, secretKeyEventContent: SecretKeyEventContent): KeyService.BootstrapCrossSigning
This allows you to bootstrap cross signing. Be aware, that this could override an existing cross signing setup of the account. Be aware, that this also creates a new key backup, which could replace an existing key backup.
Link copied to clipboard
open suspend override fun bootstrapCrossSigningFromPassphrase(passphrase: String): KeyService.BootstrapCrossSigning
This allows you to bootstrap cross signing. Be aware, that this could override an existing cross signing setup of the account. Be aware, that this also creates a new key backup, which could replace an existing key backup.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard