Extracting the Payload from a Signed MIME Message
When you pass a signed S/MIME message to createMimeData, it returns an empty MIME object because it cannot parse signed messages. To extract data from a signed message, you must process the message with pub.smime:processSignedData. This service reads an InputStream containing a signed message, verifies the signature, and returns a MIME object containing the message’s constituent elements.
Important:
A signer’s certificate is authenticated against the set of trusted certificates in the Integration Server truststore. If your site will receive signed messages, you must collect the certificates of CAs that you trust and add them to the truststore. For information about the Integration Server truststore and obtaining CA certificates, see IBM webMethods Integration Server Administrator’s Guide.
Important:
This procedure is applicable only to InputStream objects and not to MimeMessage objects.