SecureBlackbox Lite 2020 Python Edition

Questions / Feedback?

on_password_needed Event

This event is fired when a decryption password is needed.

Syntax

class CertificateStoragePasswordNeededEventParams(object):
  @property
  def needed_for() -> str: ...
  @property
  def password() -> str: ...
  @password.setter
  def password(value) -> None: ...
  @property
  def cancel() -> bool: ...
  @cancel.setter
  def cancel(value) -> None: ...

# In class CertificateStorage:
@property
def on_password_needed() -> Callable[[CertificateStoragePasswordNeededEventParams], None]: ...
@on_password_needed.setter
def on_password_needed(event_hook: Callable[[CertificateStoragePasswordNeededEventParams], None]) -> None: ...

Remarks

The class fires this event when a password is needed to decrypt a certificate or a private key.

In the handler of this event, assign the password to the Password parameter, or set Cancel to true to abort the operation.

The NeededFor parameter identifies the certificate for which the password is requested.

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