SecureBlackbox 2020 Kotlin Edition

Questions / Feedback?

SaveExternalData Event

Request to save decrypted external data.

Syntax

public open class DefaultXmldecryptorEventListener : XmldecryptorEventListener {
  ...
  public override fun saveExternalData(e: XmldecryptorSaveExternalDataEvent) {}
  ...
}

public class XmldecryptorSaveExternalDataEvent {
  val externalData: ByteArray?
}

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 Kotlin Edition - Version 20.0 [Build 8063]