IPWorks EDI 2020 JavaScript Edition

Questions / Feedback?

CEMResponse Event

Fired when a Certificate Exchange Messaging (CEM) response is received.

Syntax

as2receiver.on('CEMResponse', listener: (e: {readonly requestId: string, readonly as2From: string}) => void )

Remarks

This event fires when a Certificate Exchange Messaging (CEM) response is received.

RequestId is the CEM request Id. Match this to the request Id from the original request.

As2From identifies the sender of the CEM request.

When this event fires the CEMDetails property will be populated. Inspect the CEMDetailsAccepted property to determine whether each CEM request was accepted. If the request was rejected, check CEMDetailsRejectionReason for details.

When this event fires the following CEMDetails properties are applicable:

  • CEMDetailsCertIssuer
  • CEMDetailsCertSerialNumber
  • CEMDetailsAccepted
  • CEMDetailsRejectionReason

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