BeforeGenerateKey Event
Fires when a key generation request is received.
Syntax
kmipserver.on('BeforeGenerateKey', [callback])
Callback
The 'callback' is called when the 'BeforeGenerateKey' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.connectionId e.keyAlgorithm e.keyLength e.defaultECCurve
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.