Export (0) Print
Expand All
Expand Minimize

<encryptionFormatters> Element

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

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

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

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.

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

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

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