SecureBlackbox Lite 2020 Node.js Edition

Questions / Feedback?

CACertificateNeeded Event

Requests a missing certificate from the user.

Syntax

certificatevalidator.on('CACertificateNeeded', [callback])

Callback

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

function(e){ }

The argument 'e' has the following properties:

e.cert

Remarks

This event is fired when a CA certificate that is needed to validate Cert is not found at any of the available locations. If you have access to the missing certificate, please add it to the KnownCertificates collection to make it available to the validator.

When this event fires, the CurrentCertificate property is assigned with the certificate being validated. It is the CA that issued that certificate that the validator is looking for.

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