SecureBlackbox Lite 2020 Python Edition

Questions / Feedback?

on_recipient_found Event

Signifies that the archive was found to be encrypted with a digital certificate.

Syntax

class ArchiveWriterRecipientFoundEventParams(object):
  @property
  def public_key_hash() -> bytes: ...
  @property
  def cert_found() -> bool: ...

# In class ArchiveWriter:
@property
def on_recipient_found() -> Callable[[ArchiveWriterRecipientFoundEventParams], None]: ...
@on_recipient_found.setter
def on_recipient_found(event_hook: Callable[[ArchiveWriterRecipientFoundEventParams], None]) -> None: ...

Remarks

The class fires this event to notify the application that the archive was found to be encrypted with a digital certificate. The hash of the certificate's public key is provided in the PublicKeyHash parameter.

CertFound indicates whether a certificate with a matching public key hash was found in the decryption_certificates list. If it wasn't, you need to locate it on the system and add it to that list: class won't be able to decrypt the archive otherwise.

Please note that the certificate must have an associated private key to be capable of decryption.

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