<encryptionFormatters> Element

Specifies the types that take encrypted data and place it within a SOAP message according to the specified encryption algorithm.

<microsoft.web.services3> Element
  <security> Element
    <cryptography> Element

<encryptionFormatters>
  <add uri type />
</encryptionFormatters>

Attributes and Elements

Attributes

None

Child Elements

Element Description

<add> Element for <encryptionFormatters>

Makes a type available to WSE that can encrypt data in a specific encryption format.

Parent Elements

Element Description

<cryptography> Element

Specifies the cryptographic algorithms and settings used to sign and encrypt SOAP messages.

Remarks

Most applications are not required to use the <encryptionFormatters> element to modify the default set of encryption formatters.

Example

The following code makes the AES128 encryption formatter available to security token managers in the current application.

<configuration>
  <microsoft.web.services3>
    <security> 
      <cryptography>
        <encryptionFormatters>
          <add uri="http://www.w3.org/2001/04/xmlenc#aes128-cbc"
               type="Microsoft.Web.Services3.Security.Cryptography.AES128EncryptionFormatter" />
        </encryptionFormatters>
      </cryptography>
    </security>
  </microsoft.web.services3>
</configuration>

See Also

Reference

<cryptography> Element