A destination (topic or queue) can be marked as encrypted at the time of their creation. All the messages that are sent to this destination will be encrypted. The encryption information is maintained in the metadata associated with the destination. For this purpose, the following APIs have been added to the TopicMetaData and QueueMetaData classes:
Throws a FioranoEncryption.
This API encrypts messages intended for the destination using the default encryption algorithm.
Throws a FioranoEncryption.
This API encrypts messages intended for the destination by using the input parameters of the encryption algorithm and the encryption key. An application program does not need to explicitly decrypt a message associated with a destination. Messages are delivered in decrypted form to all subscribing applications.