Confidentiality
Send and receive exits can be used to encrypt and decrypt the data that
flows on a channel. They are more appropriate than message exits for providing
this service for the following reasons:
- On a message channel, message headers can be encrypted as well as the
application data in the messages.
- Send and receive exits can be used on MQI channels as well as message
channels. Parameters on MQI calls might contain sensitive application data
that needs to be protected while it flows on an MQI channel. You can therefore
use the same send and receive exits on both kinds of channel.