on_recipient_info Event
Fired for each recipient certificate of the encrypted message.
Syntax
class AS2ReceiverRecipientInfoEventParams(object): @property def issuer() -> str: ... @property def serial_number() -> str: ... @property def subject_key_identifier() -> str: ... @property def encryption_algorithm() -> str: ... # In class AS2Receiver: @property def on_recipient_info() -> Callable[[AS2ReceiverRecipientInfoEventParams], None]: ... @on_recipient_info.setter def on_recipient_info(event_hook: Callable[[AS2ReceiverRecipientInfoEventParams], None]) -> None: ...
Remarks
When parse_request or process_request has been called on a valid encrypted message, this event will fire for each recipient certificate that the message has been encrypted for.
Issuer is the subject of the issuer certificate.
SerialNumber is the serial number of the encryption certificate.
SubjectKeyIdentifier is the X.509 subjectKeyIdentifier extension value of the certificate used to sign the message encoded as a hex string.
EncryptionAlgorithm is the encryption algorithm used to encrypt the message. Possible values are:
- "3DES"
- "DES"
- "RC2CBC40"
- "RC2CBC64"
- "RC2CBC128" or "RC2"
- "AESCBC128" or "AES"
- "AESCBC192"
- "AESCBC256"