Tmsch_ProtectionLevel Enumeration
Specifies the level of protection required for messages.
Namespace: System.Net.Security
Assembly: System (in System.dll)
Syntax
public enum Tmsch_ProtectionLevel
Remarks
The Tmsch_ProtectionLevel enumeration is used to indicate the level of security required for messages exchanged between services. This enumeration is part of the WCF (Windows Communication Foundation) security model and is closely related to the ProtectionLevel enumeration, which serves a similar purpose but is more broadly applicable.
When configuring security bindings for a WCF service, you can specify a protection level to ensure that messages are either signed (to prevent tampering), encrypted (to maintain confidentiality), or both. The specific values provided by Tmsch_ProtectionLevel are typically used in the context of the Transport security mode or Message security mode within WCF.
Understanding and correctly applying protection levels is crucial for building secure and robust distributed applications.
Members
| Member | Description |
|---|---|
None |
No protection is required. Messages are sent and received in plain text. |
Sign |
Messages must be signed. This ensures the integrity and authenticity of the message, preventing modification and verifying the sender's identity. |
EncryptAndSign |
Messages must be both encrypted and signed. This provides the highest level of security, ensuring confidentiality, integrity, and authenticity. |