on_certificate_validate Event
Fires when a client certificate needs to be validated.
Syntax
class TSPServerCertificateValidateEventParams(object): @property def connection_id() -> int: ... @property def accept() -> bool: ... @accept.setter def accept(value) -> None: ... # In class TSPServer: @property def on_certificate_validate() -> Callable[[TSPServerCertificateValidateEventParams], None]: ... @on_certificate_validate.setter def on_certificate_validate(event_hook: Callable[[TSPServerCertificateValidateEventParams], None]) -> None: ...
Remarks
The class fires this event to notify the application of an authenticating client. Use the event handler to validate the certificate and pass your decision back to the server component via the Accept parameter.