Class CrossSigningKey
A cross-signing key: master, self-signing or user-signing.
Implements
Inherited Members
Namespace: Uniform.Matrix.Protocol.Core
Assembly: Uniform.Matrix.Protocol.Core.dll
Syntax
public sealed record CrossSigningKey : IEquatable<CrossSigningKey>
Properties
| Edit this page View SourceKeys
The one public key, by ed25519: plus the key itself.
Declaration
public IReadOnlyDictionary<string, string> Keys { get; init; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyDictionary<string, string> |
PublicKey
The public key, base64.
Declaration
[JsonIgnore]
public string? PublicKey { get; }
Property Value
| Type | Description |
|---|---|
| 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>> |
Usage
master, self_signing or user_signing.
Declaration
public IReadOnlyList<string> Usage { get; init; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |
UserId
Owner.
Declaration
public string? UserId { get; init; }
Property Value
| Type | Description |
|---|---|
| string |