Key Trust Service Impl
class KeyTrustServiceImpl(userInfo: UserInfo, keyStore: KeyStore, globalAccountDataStore: GlobalAccountDataStore, signService: SignService, api: MatrixClientServerApiClient) : KeyTrustService
Constructors
Link copied to clipboard
constructor(userInfo: UserInfo, keyStore: KeyStore, globalAccountDataStore: GlobalAccountDataStore, signService: SignService, api: MatrixClientServerApiClient)
Functions
Link copied to clipboard
open suspend override fun calculateCrossSigningKeysTrustLevel(crossSigningKeys: SignedCrossSigningKeys): KeySignatureTrustLevel
Link copied to clipboard
open suspend override fun calculateDeviceKeysTrustLevel(deviceKeys: SignedDeviceKeys): KeySignatureTrustLevel
Link copied to clipboard
open suspend override fun checkOwnAdvertisedMasterKeyAndVerifySelf(key: ByteArray, keyId: String, keyInfo: SecretKeyEventContent): Result<Unit>
Link copied to clipboard
Link copied to clipboard
open suspend override fun updateTrustLevelOfKeyChainSignedBy(signingUserId: UserId, signingKey: Key.Ed25519Key)