(Non-SOAP) Encrypt XML Element Assertion

The (Non-SOAP) Encrypt XML Element assertion is used to immediately encrypt one or more elements in an XML message (either request, response, or a message context variable). This assertion is designed only for messages not contained within a SOAP envelope. It is also used by .
gateway83
The (Non-SOAP) Encrypt XML Element assertion is used to immediately encrypt one or more elements in an XML message (either request, response, or a message context variable). This assertion is designed only for messages not contained within a SOAP envelope. It is also used by Internal Use Policies.
Note that when this assertion is used within an Audit Message Filer internal policy, the recipient certificate should match the audit viewer key. For more information on defining the audit viewer key, see Private Key Properties.
WARNING:
This assertion should be used only by advanced users who have a specific need to encrypt XML elements outside of a SOAP envelope, otherwise the Encrypt Element Assertion is normally used.
To learn about selecting the target message for this assertion, see Select a Target Message.
Using the Assertion
  1. Do one of the following:
    • To add the assertion to the Policy Development window, see Add an Assertion.
    • To change the configuration of an existing assertion, proceed to step 2 below.
  2. Right-click <
    target
    >:
    (Non-SOAP) Encrypt XML Element [XPath]
    in the policy window and select
    (Non-SOAP) XML Element Encryption Properties
    or double-click the assertion in the policy window. The assertion properties are displayed. 
  3. Click [
    Edit XPath
    ] to specify the element(s) to encrypt. For more information, see Specify XPaths in Assertions.
  4. Configure the
    Encryption Settings
    . For more information, see Configure Encryption Settings.
    You must specify a recipient certificate, otherwise the assertion will always fail.
  5. Click [
    OK
    ] when done.