SecureBlackbox 2020 Node.js Edition

Questions / Feedback?

SaveExternalData Event

Request to save decrypted external data.

Syntax

xmldecryptor.on('SaveExternalData', [callback])

Callback

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

function(e){ }

The argument 'e' has the following properties:

e.externalData (buffer)

Remarks

This event is fired when the component successfully decrypted an external data and needs to save it. The same data could be read using ExternalData property.

It makes sense to use this event when the XML document contains several xenc:EncryptedData elements and the component decrypts them all.

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