FrendsFrends
All ideas

Frends.As2.ValidateAndParsePayload: option to sign the MDN receipt

Frends.As2.ValidateAndParsePayload (v1.2.0) generates the MDN and calculates the MIC correctly, but the MDN is always unsigned. Partners request signed MDNs via the disposition-notification-options header, for example: signed-receipt-protocol=optional, pkcs7-signature; signed-receipt-micalg=optional, sha-256 Our test partner (Mendelson) accepts the unsigned MDN but marks it as “not signed”, and partners that require signed receipts would reject it. Since the MDN is returned synchronously to the caller, the SendMessage task can’t be used for this. Request: an option to sign the MDN (PKCS#7 detached, multipart/signed) with the own certificate the task already has (Own certificate path and password). Ideally it would sign automatically when the partner requests it in disposition-notification-options, using the requested micalg. Current workaround: we sign the MDN in a separate code step, loading System.Security.Cryptography.Pkcs via reflection. This works, but a built-in option would be cleaner and easier to maintain.

Activity · 0
No comments yet. Be the first to weigh in.

More in Task Feature