Class DeviceInfo
A device of a user, from verified device keys.
Implements
Inherited Members
Namespace: Uniform.Matrix.Protocol.Crypto
Assembly: Uniform.Matrix.Protocol.Crypto.dll
Syntax
public sealed record DeviceInfo : IEquatable<DeviceInfo>
Properties
| Edit this page View SourceCurve25519Key
Curve25519 identity key.
Declaration
public required string Curve25519Key { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
DeviceId
Device ID.
Declaration
public required string DeviceId { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
DisplayName
Display name, e.g. the client name.
Declaration
public string? DisplayName { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Ed25519Key
Ed25519 signing key, the fingerprint.
Declaration
public required string Ed25519Key { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
SignedBySelfSigningKey
Self-signing key that validly signed this device's keys, when any; see GetDeviceTrust(DeviceInfo).
Declaration
public string? SignedBySelfSigningKey { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
UserId
Owner.
Declaration
public required string UserId { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Verified
Whether this device was verified directly, e.g. by comparing emoji; kept while its key stays the same.
Declaration
public bool Verified { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |