Class PkMessage
Ciphertext of PkEncryption as stored in a key backup's session_data.
Implements
Inherited Members
Namespace: Uniform.Matrix.Protocol.Crypto
Assembly: Uniform.Matrix.Protocol.Crypto.dll
Syntax
public sealed record PkMessage : IEquatable<PkMessage>
Constructors
| Edit this page View SourcePkMessage(string, string, string)
Ciphertext of PkEncryption as stored in a key backup's session_data.
Declaration
public PkMessage(string Ciphertext, string Mac, string Ephemeral)
Parameters
| Type | Name | Description |
|---|---|---|
| string | Ciphertext | AES-CBC ciphertext, base64. |
| string | Mac | Truncated MAC, base64; as in libolm it does not authenticate the message. |
| string | Ephemeral | Ephemeral Curve25519 key, base64. |
Properties
| Edit this page View SourceCiphertext
AES-CBC ciphertext, base64.
Declaration
public string Ciphertext { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Ephemeral
Ephemeral Curve25519 key, base64.
Declaration
public string Ephemeral { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Mac
Truncated MAC, base64; as in libolm it does not authenticate the message.
Declaration
public string Mac { get; init; }
Property Value
| Type | Description |
|---|---|
| string |