onBeforeGenerateKey (event)
Fires when a key generation request is received.
Syntax
- (void)onBeforeGenerateKey:(long long)connectionId :(NSString**)keyAlgorithm :(int*)keyLength :(NSString**)defaultECCurve;
func onBeforeGenerateKey(_ connectionId: Int64, _ keyAlgorithm: inout NSString?, _ keyLength: inout Int32, _ defaultECCurve: inout NSString?)
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.