Class EncryptedFile
Encrypted attachment: where the ciphertext is and how to decrypt it.
Implements
Inherited Members
Namespace: Uniform.Matrix.Protocol.Core
Assembly: Uniform.Matrix.Protocol.Core.dll
Syntax
public sealed record EncryptedFile : IEquatable<EncryptedFile>
Properties
| Edit this page View SourceHashes
Hashes of the ciphertext by algorithm; sha256 is required.
Declaration
public Dictionary<string, string>? Hashes { get; init; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, string> |
Iv
Initial counter block, unpadded base64.
Declaration
public string? Iv { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Key
AES-256-CTR key.
Declaration
public JsonWebKey? Key { get; init; }
Property Value
| Type | Description |
|---|---|
| JsonWebKey |
Url
Content URI of the ciphertext.
Declaration
public string? Url { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
V
Version of the format; v2.
Declaration
public string? V { get; init; }
Property Value
| Type | Description |
|---|---|
| string |