BeforeGenerateKey Event
Fires when a key generation request is received.
Syntax
func onBeforeGenerateKey(connectionId: Int64, keyAlgorithm: inout String, keyLength: inout Int32, defaultECCurve: inout String)
Remarks
The class 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.