Class UserIdentity
A user's published cross-signing keys, checked against each other.
Implements
Inherited Members
Namespace: Uniform.Matrix.Protocol.Crypto
Assembly: Uniform.Matrix.Protocol.Crypto.dll
Syntax
public sealed record UserIdentity : IEquatable<UserIdentity>
Properties
| Edit this page View SourceMasterKey
Master public key, the user's identity.
Declaration
public required string MasterKey { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
SelfSigningKey
Self-signing public key, when validly signed by the master key.
Declaration
public string? SelfSigningKey { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
SignedByUserSigningKey
Our user-signing key, when it validly signed this master key.
Declaration
public string? SignedByUserSigningKey { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Trusted
Whether this master key was verified directly, from secret storage or by comparing emoji; kept while the key stays the same.
Declaration
public bool Trusted { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |
UserId
Owner.
Declaration
public required string UserId { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
UserSigningKey
User-signing public key, published only to its owner, when validly signed by the master key.
Declaration
public string? UserSigningKey { get; init; }
Property Value
| Type | Description |
|---|---|
| string |