SecureBlackbox 2020 Kotlin Edition

Questions / Feedback?

DecryptionPasswordNeeded Event

Fires when the component needs a password to decrypt the archive.

Syntax

public open class DefaultArchivewriterEventListener : ArchivewriterEventListener {
  ...
  public override fun decryptionPasswordNeeded(e: ArchivewriterDecryptionPasswordNeededEvent) {}
  ...
}

public class ArchivewriterDecryptionPasswordNeededEvent {
  val passwordTarget: String?
  var cancel: Boolean
}

Remarks

Component fires this event to request a decryption password from the application when it comes across an encrypted archive or entry.

Please assign the password to DecryptionPassword property inside the event handler, or set Cancel to true to cancel the operation.

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