Partager via


MessageProtectionOrder Enumeration

Specifies the order of operation for digital signatures and message encryption when securing a SOAP message.

Namespace: Microsoft.Web.Services3.Design
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim messageProtectionOrder1 As MessageProtectionOrder = MessageProtectionOrder.EncryptBeforeSign

Syntax

'Declaration
Public Enum MessageProtectionOrder
public enum MessageProtectionOrder
public enum class MessageProtectionOrder
public enum MessageProtectionOrder
public enum MessageProtectionOrder

Members

Member name Description
EncryptBeforeSign Specifies that the SOAP message is encrypted before a digital signature is generated for the SOAP message.
SignBeforeEncrypt Specifies that a digital signature is generated for the SOAP message before any portion of the SOAP message is encrypted, but the digital signature is not encrypted.
SignBeforeEncryptAndEncryptSignature Specifies that a digital signature is generated for the SOAP message before any portion of the SOAP message is encrypted, and the digital signature is encrypted.

Remarks

Use the MessageProtectionOrder enumeration in conjunction with the Turnkey Security Assertions to specify the order of operation for digital signatures and message encryption when securing a SOAP message. To set the protection order, use the optional messageProtectionOrder attribute.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

Microsoft.Web.Services3.Design Namespace