SecureBlackbox 2020 Node.js Edition

Questions / Feedback?

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Node.js Edition - Version 20.0 [Build 8165]