SaveExternalData Event
Request to save decrypted external data.
Syntax
public class DefaultXmldecryptorEventListener implements XmldecryptorEventListener { ... public void saveExternalData(XmldecryptorSaveExternalDataEvent e) {} ... } public class XmldecryptorSaveExternalDataEvent { public byte[] externalData; }
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.