BeforeGenerateKey Event
Fires when a key generation request is received.
Syntax
public class DefaultKmipserverEventListener implements KmipserverEventListener { ... public void beforeGenerateKey(KmipserverBeforeGenerateKeyEvent e) {} ... } public class KmipserverBeforeGenerateKeyEvent { public long connectionId; public String keyAlgorithm; public int keyLength; public String defaultECCurve; }
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.