Sends a Certificate Exchange Messaging (CEM) response.
async as2sender.sendCEMResponse(requestId : string): Promise<void>
This method send the Certificate Exchange Messaging (CEM) request with the details specified in CEMDetails.
A CEM request must have previously been received using AS2Receiver. To send the CEM response, populate CEMDetails with the certificate information and decide whether to accept or reject the request. The following properties may be set to specify the certificate:
After specifying the certificate information choose whether to accept or reject the request. To accept the request set CEMDetailsAccepted to True. To reject the request set CEMDetailsAccepted to False and specify a reason in CEMDetailsRejectionReason.
Call SendCEMResponse and pass the CEM request Id that was retrieved from the request.