SecureBlackbox 2020 Node.js Edition

Questions / Feedback?

StoreCertificate Event

This event is fired when a certificate should be stored along with a signature.

Syntax

asicverifier.on('StoreCertificate', [callback])

Callback

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

function(e){ }

The argument 'e' has the following properties:

e.cert (buffer)
e.URI

Remarks

This event could occur if you are verifying XAdES-C form or higher. Cert parameter contains a certificate in binary form that should be stored along with a signature, and the user should provide the URI of the stored certificate.

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