SendCEMResponse Method

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:

  • CEMDetailsCertStoreType
  • CEMDetailsCertStore
  • CEMDetailsCertSubject
Alternatively, the certificate information may be set:
  • CEMDetailsCertIssuer
  • CEMDetailsCertSerialNumber

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.

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