on_store_ocsp_response Event
This event is fired when a OCSP Response should be stored along with a signature.
Syntax
class XAdESSignerStoreOCSPResponseEventParams(object): @property def ocsp_response() -> bytes: ... @property def uri() -> str: ... @uri.setter def uri(value) -> None: ... # In class XAdESSigner: @property def on_store_ocsp_response() -> Callable[[XAdESSignerStoreOCSPResponseEventParams], None]: ... @on_store_ocsp_response.setter def on_store_ocsp_response(event_hook: Callable[[XAdESSignerStoreOCSPResponseEventParams], None]) -> None: ...
Remarks
This event could occur if you are verifying XAdES-C form or higher. OCSPResponse parameter contains an OCSP Response in binary form that should be stored along with a signature, and the user should provide the URI of the stored OCSP Response.