SecureBlackbox 2020 Python Edition

Questions / Feedback?

on_notification Event

This event notifies the application about an underlying control flow event.

Syntax

class MessageSignerNotificationEventParams(object):
  @property
  def event_id() -> str: ...
  @property
  def event_param() -> str: ...

# In class MessageSigner:
@property
def on_notification() -> Callable[[MessageSignerNotificationEventParams], None]: ...
@on_notification.setter
def on_notification(event_hook: Callable[[MessageSignerNotificationEventParams], None]) -> None: ...

Remarks

The class fires this event to let the application know about some event, occurrence, or milestone in the component. For example, it may fire to report completion of the document processing. The list of events being reported is not fixed, and may be flexibly extended over time.

The unique identifier of the event is provided in EventID parameter. EventParam contains any parameters accompanying the occurrence. Depending on the type of the component, the exact action it is performing, or the document being processed, one or both may be omitted.

This class can fire this event with the following EventID values:

TimestampRequestA timestamp is requested from the custom timestamping authority. This event is only fired if timestamp_server was set to a virtual:// URI. The EventParam parameter contains the TSP request (or the plain hash, depending on the value provided to timestamp_server), in base16, that needs to be sent to the TSA.

Use the event handler to send the request to the TSA. Upon receiving the response, assign it, in base16, to the TimestampResponse configuration property.

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