Class Verification
A SAS verification with another device, over to-device messages, or over events of a room when another user asked there.
Inherited Members
Namespace: Uniform.Matrix.Protocol.Crypto
Assembly: Uniform.Matrix.Protocol.Crypto.dll
Syntax
public sealed class Verification
Properties
| Edit this page View SourceCancelCode
Cancel code, e.g. m.user or m.mismatched_sas.
Declaration
public string? CancelCode { get; }
Property Value
| Type | Description |
|---|---|
| string |
CancelReason
Human-readable cancel reason.
Declaration
public string? CancelReason { get; }
Property Value
| Type | Description |
|---|---|
| string |
Decimals
Numbers to compare instead of emoji.
Declaration
public IReadOnlyList<int> Decimals { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<int> |
Emoji
Emoji to compare, from ShowingSas on.
Declaration
public IReadOnlyList<SasEmoji> Emoji { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<SasEmoji> |
OtherDeviceId
Device being verified; unknown until it accepts our request.
Declaration
public string? OtherDeviceId { get; }
Property Value
| Type | Description |
|---|---|
| string |
OtherUserId
User being verified; ourselves when verifying our own device.
Declaration
public string OtherUserId { get; }
Property Value
| Type | Description |
|---|---|
| string |
RequestedDeviceIds
Get the devices our request went to, before one of them accepted; empty for requests of others.
Declaration
public IReadOnlyList<string> RequestedDeviceIds { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |
RoomId
Room of an in-room verification, whose messages are room events; null for one over to-device messages.
Declaration
public string? RoomId { get; }
Property Value
| Type | Description |
|---|---|
| string |
State
Current stage.
Declaration
public VerificationState State { get; }
Property Value
| Type | Description |
|---|---|
| VerificationState |
TransactionId
ID shared by all messages of this verification; in a room, the event ID of the request.
Declaration
public string TransactionId { get; }
Property Value
| Type | Description |
|---|---|
| string |
WeRequested
Whether we sent the request.
Declaration
public bool WeRequested { get; }
Property Value
| Type | Description |
|---|---|
| bool |