Formatting a message with MIME, S/MIME, DIME, and multipart content

You can format a message by applying a MIME or DIME schema. IBM® Rational® Integration Tester supports the S/MIME standard for secure encryption, decryption, and signing of MIME data.

The MIME and DIME schemas

To apply a MIME or DIME schema:
  1. Right-click the Text node of the message and click Schema.
  2. In the Schema Selector window, click Web > MIME or Web > DIME as the Schema Type.
  3. Select a root from the displayed options. A sample message is displayed with the schema applied.
    The screen capture shows a Multipart MIME root selected.
  4. Click OK to return to the message.
  5. For multipart MIME nodes, you can add parts. Right-click the content (multipart/*) node and click Add Child > Choice and select one of the following part types:
    • Binary
    • Multipart
    • Text
  6. For DIME messages, you can add records to the (Message) node. Right-click the node and click Add Child > Choice and select one of the following record types:
    • Binary
    • Text

S/MIME properties

To add security to a MIME message:
  1. In the Test Factory perspective message tree, double-click the message to open it in the message editor.
  2. Right-click the test (String) {MIME} node and then click Properties.
    The Properties option is available in the pop-up menu.
  3. On the S/MIME security settings dialog, you have three options:
    • Encrypt
    • Decrypt
    • Sign
    The S/MIME dialog with Encrypt and Sign options selected.

    The Encrypt and Sign options can be selected together or separately.

    All options require the name of a Keystore and a Certificate Alias from within that keystore. Outbound options (Encrypt and Sign) require an Algorithm. Decrypt and Sign options require a Password.

    Note: If you apply the MIME schema to a message, you can also apply the S/MIME properties at the same time, through the Schema Selector window.
    Formatter properties are located below the Schema Type pane.

Feedback