Class DeviceKeys
Signed device keys as uploaded and queried.
Implements
Inherited Members
Namespace: Uniform.Matrix.Protocol.Core
Assembly: Uniform.Matrix.Protocol.Core.dll
Syntax
public sealed record DeviceKeys : IEquatable<DeviceKeys>
Properties
| Edit this page View SourceAlgorithms
Supported algorithms.
Declaration
public IReadOnlyList<string> Algorithms { get; init; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |
Curve25519Key
Curve25519 identity key, or null.
Declaration
[JsonIgnore]
public string? Curve25519Key { get; }
Property Value
| Type | Description |
|---|---|
| string |
DeviceId
Device ID.
Declaration
public required string DeviceId { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Ed25519Key
Ed25519 signing key, i.e. the fingerprint, or null.
Declaration
[JsonIgnore]
public string? Ed25519Key { get; }
Property Value
| Type | Description |
|---|---|
| string |
Keys
Public keys by algorithm:device_id, e.g. curve25519:ABC.
Declaration
public IReadOnlyDictionary<string, string> Keys { get; init; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyDictionary<string, string> |
Signatures
Signatures by user ID, then key ID.
Declaration
public IReadOnlyDictionary<string, IReadOnlyDictionary<string, string>> Signatures { get; init; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyDictionary<string, IReadOnlyDictionary<string, string>> |
Unsigned
Unsigned data such as the display name.
Declaration
public JsonObject? Unsigned { get; init; }
Property Value
| Type | Description |
|---|---|
| JsonObject |
UserId
Owner.
Declaration
public required string UserId { get; init; }
Property Value
| Type | Description |
|---|---|
| string |