![]() |
![]() |
|
|
Handling Encrypted Message Buffers
In general, TMQUEUE and TMQFORWARD handle encrypted message buffers without decrypting them. However, there are situations where the /Q component needs to decrypt enqueued message buffers, as described in Compatibility/Interaction with /Q in Using Security in ATMI Applications.
As mentioned in the "Compatibility/Interaction with /Q" discussion, a non-transactional tpdequeue() operation has the side effect of destroying an encrypted queued message if the invoking process does not hold a valid decryption key. Thus, application programmers need to open a decryption key for a process before the process calls tpdequeue() to retrieve an encrypted message; otherwise, the message will be lost.
For information on opening a decryption key, see Initializing Decryption Keys Through the Plug-ins and Writing Code to Receive Encrypted Messages in Using Security in ATMI Applications.
![]() |
![]() |
![]() |
|
Copyright © 2001 BEA Systems, Inc. All rights reserved.
|