Table of Contents

TTMSFNCWebPushVapid.InitializeKeys Method

Ensures a usable key pair is available. When the keys are empty it loads them from the default configuration file, or generates a new pair and stores it when no file exists.

API unit family: TMS.TMSFNCWebPushCommon Declaring type: TTMSFNCWebPushVapid

Syntax

procedure InitializeKeys;

Remarks

Does nothing when both keys are already set. Raises an exception when a configuration file is present but does not contain both keys.