CertList Event
Lists the certificates in a store (see the ListStoreCertificates method).
Syntax
certmgr.on('CertList', [callback])
Callback
The 'callback' is called when the 'CertList' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.certEncoded (buffer) e.certSubject e.certIssuer e.certSerialNumber e.hasPrivateKey
Remarks
The CertSubject and CertIssuer parameters contain distinguished names of the certificate owner and issuer respectively. The HasPrivateKey flag shows whether the private key for the certificate is available in the system.
The StoreList event and the ListCertificateStores and ListMachineStores methods are used to list the certificate stores in the system.