IPWorks Auth 2020 Python Edition

Questions / Feedback?

on_recipient_info Event

Fired with information about the recipient key of the encrypted message.

Syntax

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

# In class JWT:
@property
def on_recipient_info() -> Callable[[JWTRecipientInfoEventParams], None]: ...
@on_recipient_info.setter
def on_recipient_info(event_hook: Callable[[JWTRecipientInfoEventParams], None]) -> None: ...

Remarks

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

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

Algorithm is the encryption algorithm used to encrypt the data.

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