concept message payload in category mule

This is an excerpt from Manning's book Mule in Action, Second Edition.
As illustrated in figure 2.9, the Java class of the message payload depends on the origin of the message. Byte arrays, implementations of java.io.InputStream, or String are payload types commonly created by standard Mule transports. More transport-specific payload types, like java.io.File for the File transport, can be also be carried by Mule messages.
You’ve seen how to use password-based encryption to transparently encrypt message payloads. The main flaw with this sort of encryption is that the password must be shared between both parties wishing to exchange messages. As you share the password with more parties, the risk of it becoming compromised grows. This is a major motivation for the popularity of public key encryption. Public key encryption uses key pairs rather than shared keys. The strength of public key encryption relies on the fact that each user has a closely guarded private key and a widely distributed public key. When a user wants to send a message, that user can encrypt the message using the recipient’s public key. The recipient is then able to decrypt the message using their own private key. The sender is also able to “sign” a message using their private key. The recipient can subsequently verify this message using the sender’s public key to guarantee the authenticity of the message.