IPWorks S/MIME 2020 Python Edition

Questions / Feedback?

on_cert_list Event

Lists the certificates in a store (see the ListStoreCertificates method).


class CertMgrCertListEventParams(object):
  def cert_encoded() -> bytes: ...
  def cert_subject() -> str: ...
  def cert_issuer() -> str: ...
  def cert_serial_number() -> str: ...
  def has_private_key() -> bool: ...

# In class CertMgr:
def on_cert_list() -> Callable[[CertMgrCertListEventParams], None]: ...
def on_cert_list(event_hook: Callable[[CertMgrCertListEventParams], None]) -> None: ...


The CertSubject and CertIssuer parameters contain distinguished names of the certificate owner and issuer respectively. The HasPrivateKey flag shows whether the private key for the certificate is available in the system.

The on_store_list event and the list_certificate_stores and list_machine_stores methods are used to list the certificate stores in the system.

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