SecureBlackbox 2020 Python Edition

Questions / Feedback?

on_decryption_password_needed Event

Request to provide decryption password during decryption.

Syntax

class OfficeDecryptorDecryptionPasswordNeededEventParams(object):
  @property
  def cancel_decryption() -> bool: ...
  @cancel_decryption.setter
  def cancel_decryption(value) -> None: ...

# In class OfficeDecryptor:
@property
def on_decryption_password_needed() -> Callable[[OfficeDecryptorDecryptionPasswordNeededEventParams], None]: ...
@on_decryption_password_needed.setter
def on_decryption_password_needed(event_hook: Callable[[OfficeDecryptorDecryptionPasswordNeededEventParams], None]) -> None: ...

Remarks

This event is fired when the component needs decryption password from the user.

if CancelDecryption property is set to true value (default value) then decryption would fail if provided password is invalid. Otherwise this event would be fired again.

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