Before you begin
Prior to completing this task, you must import your application into an assembly tool. For information on how to import your application, see Importing enterprise applications.Why and when to perform this task
Complete the following steps to specify which message parts to encrypt when you configure the consumer security constraints for either the request generator or the response generator. The request generator is configured for the client and the response generator is configured for the server. In the following steps, you must configure either the client-side extensions in step 2 or the server-side extensions in step 3.
Steps for this task
Example
<soapenv:Body soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <EncryptedData Id="wssecurity_encryption_id_8770799378696212005" Type="http://www.w3.org/2001/04/xmlenc#Content" xmlns="http://www.w3.org/2001/ 04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/> <CipherData> <CipherValue>nIlF+Uthee0H96HbtRrolJ/tBmOazyryNYRwr/reF4nqtbHqGtNuew== </CipherValue> </CipherData> </EncryptedData> </soapenv:Body>
What to do next
After you specify which message parts to encrypt, you must specify which method is used to encrypt the message parts. For more information, see Configuring encryption information for the generator binding with an assembly tool.Related tasks
Adding time stamps for confidentiality to generator security constraints
with an XPath expression
Adding the nonce for confidentiality to generator security constraints
with an XPath expression
Configuring encryption information for the generator binding with an
assembly tool