<cryptography> Element
Specifies the list of cryptographic algorithms that are available to place keys, encrypted data, and digital signatures in a SOAP message.
<microsoft.web.services2> Element
<security> Element
<cryptography>
<encryptionFormatters />
<keyExchangeFormatters />
<signatureFormatters />
<keyAlgorithm name type />
</cryptography>
Attributes and Elements
Attributes
None
Child Elements
Element | Description |
---|---|
Specifies the types that take encrypted data and place it within a SOAP message according to the specified encryption algorithm. |
|
Specifies the types that take key data and place it within a SOAP message according to the specified encryption algorithm. |
|
Specifies the types that take a digital signature and place it within a SOAP message according to the specified cryptographic algorithm. |
|
Specifies the list of cryptographic algorithms that are available to generate keys or encrypt SOAP messages. |
Parent Elements
Element | Description |
---|---|
Controls the security settings for a WSE application. |
Remarks
Most applications are not required to change the list of cryptographic algorithms used by WSE.
Example
The following code makes the AES128 cryptographic key generation available to security token managers in the current application.
<configuration>
<microsoft.web.services2>
<security>
<cryptography>
<keyAlgorithm name="AES128" type="Microsoft.Web.Services2.Security.Cryptography.AES128" />
</cryptography>
</security>
</microsoft.web.services2>
</configuration>
See Also
Reference
<encryptionFormatters> Element
<keyExchangeFormatters> Element
<signatureFormatters> Element
<keyAlgorithm> Element for <cryptography>