TsgcWSPClient_E2EEProperties › E2EE_Options

E2EE_Options Property

Client-side end-to-end encryption options: local UserId, key/algorithm settings and acknowledgment flags.

Syntax

property E2EE_Options: TsgcE2EE_Client_Options read FE2EE_Options write SetE2EE_Options;

Default Value

Remarks

Container for all client-side E2EE settings. The most important fields are UserId (unique identifier the server uses to route direct and group messages to this client), the key and algorithm selectors that control asymmetric/symmetric material used for handshake and payload encryption, and Ack.RcvDirectMessage / Ack.RcvGroupMessage which, when enabled, make the client emit delivery acknowledgments for received direct and group messages. These values must be configured before the underlying Client is activated.

Example

oE2EE.E2EE_Options.UserId := 'CLIENT01';
oE2EE.E2EE_Options.Ack.RcvDirectMessage := True;
oE2EE.E2EE_Options.Ack.RcvGroupMessage := True;

Back to Properties