Condividi tramite


<keyExchangeFormatters> Element

Specifies the types available to security token managers that can take a key and place it within a SOAP message according to a specific cryptographic algorithm.

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

<keyExchangeFormatters>
  <add uri type />
</keyExchangeFormatters>

Attributes and Elements

Attributes

None

Child Elements

Element Description

<add> Element for <keyExchangeFormatters>

Makes a type available to WSE that can place a key in a SOAP message according to the specified cryptographic 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 <keyExchangeFormatters> element to modify the default set of key exchange formatters.

Example

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

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

See Also

Reference

<cryptography> Element