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.