Formatting a message with MIME, S/MIME, DIME, and multipart content
When you are working with messages that can contain multiple parts, you must format the message as a Multipurpose Internet Mail Extensions (MIME) message. You can also apply a MIME or a Direct Internet Message Encapsulation (DIME) schema to the message. You can apply the secure MIME (S/MIME) standard to encrypt or digitally sign outbound messages.
- Applying the MIME schema
- Applying the DIME schema
- Adding parts to multipart MIME nodes
- Adding records to DIME nodesAdding binary content to multipart nodes in a MIME message
- Adding Form-Data file to MIME messages
- Adding security to MIME messages
- Signing MIME messages
- Decrypting MIME messages
- Removing signatures from MIME messages
- Using Content-Transfer-Encoding
Before you perform any of the tasks, you must ensure that you have opened the message that you want to format.
Applying the MIME schema
- Byte Array
- Text
-
Perform the following steps if you selected the Byte Array option as the message formatter:
-
Perform the following steps if you selected the Text option as the message formatter:
Applying the DIME schema
You can apply the DIME schema to messages that have the formatter set as Byte Array.
Adding parts to multipart MIME nodes
You can add parts to a multipart MIME message from the message panel in the messaging action window so that you can attach files, images and so on, as parts to the multipart message.
Adding records to DIME nodes
You can add records to a DIME message from the message panel in the messaging action window.
Adding binary content to multipart nodes in a MIME message
You can paste text content such as JSON into the Multipart node. The added binary content is expanded and displayed as a tree. You can add Binary content such as file data by editing the ByteArray node.
Adding Form-Data file to MIME messages
When you are sending MIME messages over an HTTP transport, you must add the Form-Data Content-Type to the header in the messages so that the HTTP server or client can interpret and transport the messages.
S/MIME messages
When you want to secure the MIME messages, you can encrypt the messages, digitally sign the messages, or enable both. You can encrypt or decrypt MIME messages by using any of the supported encryption algorithms. You can also add your digital signatures by using any of the supported signature algorithms.
Adding security to MIME messages
To secure MIME messages, you can encrypt the messages by using any of the supported encryption algorithms. You can also add your digital signatures by using any of the supported signature algorithms.
Signing MIME messages
To secure MIME messages, you can add your digital signatures by using any of the supported signature algorithms.
Decrypting MIME messages
You can configure the MIME messages that are received to be decrypted and then displayed in Rational Integration Tester. You can either decrypt the message separately or use decryption in combination with the Unsign option, if the messages are also signed digitally.
Removing signatures from MIME messages
You can configure the MIME messages that are received so that the digital signatures are removed from the messages and then displayed in Rational Integration Tester. You can either use the Unsign option for message separately or use the option in combination with the decryption option.
Using Content-Transfer-Encoding
The Content-Transfer-Encoding header is a MIME header that controls how the content must be encoded for transmission. Rational Integration Tester chooses an encoding based on the content and the type of root node that the MIME message is built on. If the MIME message is built on a Text node, then it is assumed that the content is required to be 7-bit data and is encoded by using 7 bit, base64, or quoted-printable encoding. If the MIME message is built on a ByteArray node, then binary encoding is chosen, which is suitable for protocols without a 7-bit restriction such as HTTP and AS2.
















