<signatureFormatters> Element

Specifies the types that take a digital signature and place it within a SOAP message according to the specified cryptographic algorithm.

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

<signatureFormatters>
  <add uri type />
</signatureFormatters>

Attributes and Elements

Attributes

None

Child Elements

Element Description

<add> Element for <encryptionFormatters>

Makes a type available to WSE that can take a digital signature and place it 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 <signatureFormatters> element to modify the default set of signature formatters.

Example

The following code makes the RSA-SHA1 signature formatter available to security token managers in the current application.

<configuration>
  <microsoft.web.services2>
    <security> 
      <cryptography>
        <signatureFormatters>
          <add uri="http://www.w3.org/2000/09/xmldsig#rsa-sha1"
               type="Microsoft.Web.Services2.Security.Cryptography.RSASHA1SignatureFormatter" />
        </signatureFormatters>
      </cryptography>
    </security>
  </microsoft.web.services2>
</configuration>

See Also

Reference

<cryptography> Element