on_status_request Event
Requests a certificate status from the application.
Syntax
class OCSPServerStatusRequestEventParams(object): @property def connection_id() -> int: ... @property def hash_algorithm() -> str: ... @property def issuer_name_hash() -> bytes: ... @property def issuer_key_hash() -> bytes: ... @property def certificate_serial() -> bytes: ... @property def cert_status() -> int: ... @cert_status.setter def cert_status(value) -> None: ... @property def reason() -> int: ... @reason.setter def reason(value) -> None: ... @property def revocation_time() -> str: ... @revocation_time.setter def revocation_time(value) -> None: ... @property def this_update() -> str: ... @this_update.setter def this_update(value) -> None: ... @property def next_update() -> str: ... @next_update.setter def next_update(value) -> None: ... # In class OCSPServer: @property def on_status_request() -> Callable[[OCSPServerStatusRequestEventParams], None]: ... @on_status_request.setter def on_status_request(event_hook: Callable[[OCSPServerStatusRequestEventParams], None]) -> None: ...
Remarks
Subscribe to this event to provide, alter, or inspect certificate statuses produced by the OCSP server.
ConnectionId returns the unique identifier of the client making the request. IssuerNameHash and IssuerKeyHash specify the message digests of the certificate issuer's name and public key obtained with the use of HashAlgorithm. CertificateSerial specifies the serial number of the checked certificate.
Use the by-ref parameters CertStatus, Reason, RevocationTime, ThisUpdate, and NextUpdate to check or alter the status details of the requested certificate.