IPWorks Encrypt 2020 Python Edition

Questions / Feedback?

on_signer_info Event

Fires with information about the signature.

Syntax

class JWSSignerInfoEventParams(object):
  @property
  def key_id() -> str: ...
  @property
  def algorithm() -> str: ...

# In class JWS:
@property
def on_signer_info() -> Callable[[JWSSignerInfoEventParams], None]: ...
@on_signer_info.setter
def on_signer_info(event_hook: Callable[[JWSSignerInfoEventParams], None]) -> None: ...

Remarks

This event fires with information about the signature. This may be used to help identify the key or certificate to load in order to verify the signature. This event fires when verify or parse is called.

KeyId is the Id of the key as supplied by the signer that created the message. This may be empty.

Algorithm is the signature algorithm used to sign the message.

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