on_recipient_found Event
Provides recipient certificate details to the application.
Syntax
class PDFVerifierRecipientFoundEventParams(object): @property def issuer_rdn() -> str: ... @property def serial_number() -> bytes: ... @property def subject_key_id() -> bytes: ... @property def cert_found() -> bool: ... # In class PDFVerifier: @property def on_recipient_found() -> Callable[[PDFVerifierRecipientFoundEventParams], None]: ... @on_recipient_found.setter def on_recipient_found(event_hook: Callable[[PDFVerifierRecipientFoundEventParams], 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.