SecureBlackbox 2020 Python Edition

Questions / Feedback?

on_store_ocsp_response Event

This event is fired when a OCSP Response should be stored along with a signature.

Syntax

class ASiCVerifierStoreOCSPResponseEventParams(object):
  @property
  def ocsp_response() -> bytes: ...
  @property
  def uri() -> str: ...
  @uri.setter
  def uri(value) -> None: ...

# In class ASiCVerifier:
@property
def on_store_ocsp_response() -> Callable[[ASiCVerifierStoreOCSPResponseEventParams], None]: ...
@on_store_ocsp_response.setter
def on_store_ocsp_response(event_hook: Callable[[ASiCVerifierStoreOCSPResponseEventParams], 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.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Python Edition - Version 20.0 [Build 8154]