<add> Element for <signatureFormatters>

Adds a signature formatter for security token managers.

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

<add uri="URI for signature formatter" type="type,assembly name" />

Attributes and Elements

Attributes

Attribute Description

uri

The URI for the signature formatter, as specified in the XML-Signature Syntax and Processing World Wide Web Consortium (W3C) specification.

type

The fully qualified type name that implements the signature formatter.

Child Elements

None

Parent Elements

Element Description

<signatureFormatters> Element

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

Remarks

A signature formatter takes a digital signature and places it within a SOAP message according to the specified cryptographic algorithm.

Most applications are not required 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.services3>
    <security> 
      <cryptography>
        <signatureFormatters>
          <add uri="http://www.w3.org/2000/09/xmldsig#rsa-sha1"
               type="Microsoft.Web.Services3.Security.Cryptography.RSASHA1SignatureFormatter" />
        </signatureFormatters>
      </cryptography>
    </security>
  </microsoft.web.services3>
</configuration>

See Also

Reference

<signatureFormatters> Element