IPWorks EDI 2020 Python Edition

Questions / Feedback?

send_cem_response Method

Sends a Certificate Exchange Messaging (CEM) response.

Syntax

def send_cem_response(request_id: str) -> None: ...

Remarks

This method send the Certificate Exchange Messaging (CEM) request with the details specified in cem_details.

A CEM request must have previously been received using AS2Receiver. To send the CEM response, populate cem_details with the certificate information and decide whether to accept or reject the request. The following properties may be set to specify the certificate:

Alternatively, the certificate information may be set:

After specifying the certificate information choose whether to accept or reject the request. To accept the request set cem_accepted to True. To reject the request set cem_accepted to False and specify a reason in cem_rejection_reason.

Call on_send_cem_response and pass the CEM request Id that was retrieved from the request.

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