Class DecryptedToDeviceEvent
A to-device event decrypted from Olm, with the keys of the device that sent it.
Implements
Inherited Members
Namespace: Uniform.Matrix.Protocol.Crypto
Assembly: Uniform.Matrix.Protocol.Crypto.dll
Syntax
public sealed record DecryptedToDeviceEvent : IEquatable<DecryptedToDeviceEvent>
Properties
| Edit this page View SourceContent
Decrypted content.
Declaration
public required JsonObject Content { get; init; }
Property Value
| Type | Description |
|---|---|
| JsonObject |
Sender
Sending user.
Declaration
public required string Sender { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
SenderKey
Curve25519 key of the sending device, proven by the Olm session.
Declaration
public required string SenderKey { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
SenderSigningKey
Ed25519 key the sending device claimed in the payload.
Declaration
public required string SenderSigningKey { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Type
Event type of the decrypted payload, e.g. RoomKey.
Declaration
public required string Type { get; init; }
Property Value
| Type | Description |
|---|---|
| string |