SecureBlackbox 2020 Python Edition

Questions / Feedback?

on_format_text Event

Reports XML text that is currently being processed.

Syntax

class SOAPSignerFormatTextEventParams(object):
  @property
  def text() -> str: ...
  @text.setter
  def text(value) -> None: ...
  @property
  def text_type() -> int: ...
  @property
  def level() -> int: ...
  @property
  def path() -> str: ...

# In class SOAPSigner:
@property
def on_format_text() -> Callable[[SOAPSignerFormatTextEventParams], None]: ...
@on_format_text.setter
def on_format_text(event_hook: Callable[[SOAPSignerFormatTextEventParams], None]) -> None: ...

Remarks

TextType parameter specifies the type of the XML text (normal or Base64-encoded) that is stored in the element; Path and Level specify the path to the XML element and its nesting level.

Among other purposes, this event may be used to add whitespace formatting before or after a particular element in the signature.

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