BeforeGenerateKey Event
Fires when a key generation request is received.
Syntax
type TBeforeGenerateKeyEvent = procedure ( Sender: TObject; ConnectionId: Int64; var KeyAlgorithm: String; var KeyLength: Integer; var DefaultECCurve: String ) of Object;
property OnBeforeGenerateKey: TBeforeGenerateKeyEvent read FOnBeforeGenerateKey write FOnBeforeGenerateKey;
Remarks
The component fires this event when it receives a request from the client to generate a key or keypair. KeyAlgorithm, KeyLength, and DefaultECCurve parameters specify the requested key properties.