IPWorks S/MIME 2020 Python Edition

Questions / Feedback?

on_cert_list Event

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

Syntax

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

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

Remarks

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]