IPWorks OpenPGP 2020 Node.js Edition

Questions / Feedback?

KeyList Event

Lists the keysets in a CSP (see the ListKeys method).

Syntax

certmgr.on('KeyList', [callback])

Callback

The 'callback' is called when the 'KeyList' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.keyContainer
e.keyType
e.algId
e.keyLen

Remarks

The KeyContainer parameter is the name used to identify the keyset (public/private key pair) when it was first created.

KeyType shows the key type: 1 for key exchange (encryption) keys, and 2 for digital signature keys.

KeyLen shows the length of the public key (in bits).

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