Package org.matrix.android.sdk.api.session.crypto.verification

Types

Link copied to clipboard
enum CancelCode : Enum<CancelCode>
Link copied to clipboard
data class EmojiRepresentation(    val emoji: String,     @StringRes val nameResId: Int,     @DrawableRes val drawableRes: Int? = null)
Link copied to clipboard
enum EVerificationState : Enum<EVerificationState>
Link copied to clipboard
data class PendingVerificationRequest(    val ageLocalTs: Long,     val state: EVerificationState,     val isIncoming: Boolean = false,     val otherUserId: String,     val otherDeviceId: String?,     val roomId: String?,     val transactionId: String,     val cancelConclusion: CancelCode? = null,     val isFinished: Boolean = false,     val handledByOtherSession: Boolean = false,     val targetDevices: List<String>? = null,     val qrCodeText: String? = null,     val isSasSupported: Boolean = false,     val weShouldShowScanOption: Boolean = false,     val weShouldDisplayQRCode: Boolean = false)

Stores current pending verification requests.

Link copied to clipboard
enum QRCodeVerificationState : Enum<QRCodeVerificationState>
Link copied to clipboard
interface QrCodeVerificationTransaction : VerificationTransaction
Link copied to clipboard
object SasMode
Link copied to clipboard
sealed class SasTransactionState
Link copied to clipboard
interface SasVerificationTransaction : VerificationTransaction
Link copied to clipboard
data class ValidVerificationInfoReady(    val transactionId: String,     val fromDevice: String,     val methods: List<String>)
Link copied to clipboard
data class ValidVerificationInfoRequest(    val transactionId: String,     val fromDevice: String,     val methods: List<String>,     val timestamp: Long?)
Link copied to clipboard
sealed class VerificationEvent
Link copied to clipboard
enum VerificationMethod : Enum<VerificationMethod>

Verification methods.

Link copied to clipboard
interface VerificationService

https://matrix.org/docs/spec/client_server/r0.5.0#key-verification-framework

Link copied to clipboard
enum VerificationState : Enum<VerificationState>
Link copied to clipboard
interface VerificationTransaction

Functions

Link copied to clipboard
fun VerificationEvent.getRequest(): PendingVerificationRequest?
Link copied to clipboard
fun VerificationEvent.getTransaction(): VerificationTransaction?
Link copied to clipboard
fun VerificationState.isCanceled(): Boolean
Link copied to clipboard
fun safeValueOf(code: String?): CancelCode