Local security provides protection for WebSphere MQ Everyplace data or MQeFields objects, including message, MQeMsg, objects. The protected data is returned in a byte array. To apply local security to a data object you must:
The authenticator determines how access to the data is controlled. The cryptor determines the cryptographic strength protecting the data confidentiality. The compressor determines the storage required by the message.
WebSphere MQ Everyplace provides the MQeLocalSecure class to assist with the use of local security. However, it is the responsibility of the local security user to setup an appropriate attribute and provide the password or passphrase key. MQeLocalSecure provides the function to protect the data and to save and restore it from backing storage. If an application chooses to attach an attribute to a message without using MQeLocalSecure, it also needs to save the data after using dump and must retrieve the data before using restore.