SecureBlackbox 2020 Python Edition

Questions / Feedback?

on_recipient_found Event

Provides recipient certificate details to the application.

Syntax

class PDFDecryptorRecipientFoundEventParams(object):
  @property
  def issuer_rdn() -> str: ...
  @property
  def serial_number() -> bytes: ...
  @property
  def subject_key_id() -> bytes: ...
  @property
  def cert_found() -> bool: ...

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

Remarks

The class fires this event when processing encrypted documents to report encryption certificate details to the user.

Subscribe to this event to obtain encryption certificate information and pass the corresponding certificate to the class via decryption_certificate (decryption_certificates) property.

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