Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Mime Folder | Summary of Elements in this Folder | wm.tn.mime:getDigest
 
wm.tn.mime:getDigest
Retrieves the message digest that the wm.tn.mime:writeToStream service computed.
Input Parameters
mimeData
Object The MIME object for which you want to retrieve a message digest that you had computed using the wm.tn.mime:writeToStream service.
Output Parameters
messageDigest
String Base64 encoded message digest for the specified MIME object.
Usage Notes
*Use this service when sending a message that you created. For more information, see Using the MIME Services to Send MIME Messages You Create.
*You must invoke the wm.tn.mime:setDigestAlgorithm and wm.tn.mime:writeToStream services before invoking wm.tn.mime:getDigest.
*This service is not compatible with those in the pub.mime folder. The MIME objects that the pub.mime:createMimeData service creates will not work with this service.