on_before_open_storage Event
Informs about imminent access to the certificate storage.
Syntax
class DCAuthWebServerBeforeOpenStorageEventParams(object): @property def connection_id() -> int: ... @property def storage_id() -> str: ... @storage_id.setter def storage_id(value) -> None: ... @property def signing_certificate() -> str: ... @signing_certificate.setter def signing_certificate(value) -> None: ... @property def certificate_password() -> str: ... @certificate_password.setter def certificate_password(value) -> None: ... # In class DCAuthWebServer: @property def on_before_open_storage() -> Callable[[DCAuthWebServerBeforeOpenStorageEventParams], None]: ... @on_before_open_storage.setter def on_before_open_storage(event_hook: Callable[[DCAuthWebServerBeforeOpenStorageEventParams], None]) -> None: ...
Remarks
This event is fired to inform the application that the configured certificate is about to be accessed for the purpose of signing. The location of the certificate is taken from signing_certificate and storage_id properties. The application may alter these parameters in this event handler to specify a different certificate, if required.