Example

If the data passed to the MIME Adapter contains the following message part:


<MIME-Message-Part>
<Header>
Content-Type: application/pkcs7-mime
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=something.p7m
Encryption: SMIME(-ENCODE -ACTION ENCRYPT)
</Header>

</MIME-Message-Part>

and the MIME Adapter is called with the following command line:


-SESSION SMIME(-USER marcel -PASSWORD ****)

the command line is appended to any occurrence of Encryption: SMIME in the MIME data, and the command sent to the SMIME encoder is:


-ENCODE -ACTION ENCRYPT -USER marcel -PASSWORD ****