Class EncryptedSecret
Secret as stored in secret storage account data: iv, ciphertext and mac.
Implements
Inherited Members
Namespace: Uniform.Matrix.Protocol.Crypto
Assembly: Uniform.Matrix.Protocol.Crypto.dll
Syntax
public sealed record EncryptedSecret : IEquatable<EncryptedSecret>
Constructors
| Edit this page View SourceEncryptedSecret(string, string, string)
Secret as stored in secret storage account data: iv, ciphertext and mac.
Declaration
public EncryptedSecret(string Iv, string Ciphertext, string Mac)
Parameters
| Type | Name | Description |
|---|---|---|
| string | Iv | Counter block, base64. |
| string | Ciphertext | AES-256-CTR ciphertext, base64. |
| string | Mac | HMAC-SHA-256 of the ciphertext, base64. |
Properties
| Edit this page View SourceCiphertext
AES-256-CTR ciphertext, base64.
Declaration
public string Ciphertext { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Iv
Counter block, base64.
Declaration
public string Iv { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Mac
HMAC-SHA-256 of the ciphertext, base64.
Declaration
public string Mac { get; init; }
Property Value
| Type | Description |
|---|---|
| string |