22 references to MessagePartProtectionMode
System.ServiceModel (22)
System\ServiceModel\Security\MessagePartProtectionMode.cs (6)
17public static MessagePartProtectionMode GetProtectionMode(bool sign, bool encrypt, bool signThenEncrypt) 25return MessagePartProtectionMode.SignThenEncrypt; 29return MessagePartProtectionMode.EncryptThenSign; 34return MessagePartProtectionMode.Sign; 39return MessagePartProtectionMode.Encrypt; 43return MessagePartProtectionMode.None;
System\ServiceModel\Security\SecurityAppliedMessage.cs (2)
28readonly MessagePartProtectionMode bodyProtectionMode; 49public MessagePartProtectionMode BodyProtectionMode
System\ServiceModel\Security\SendSecurityHeader.cs (1)
535(this.SecurityAppliedMessage.BodyProtectionMode != MessagePartProtectionMode.SignThenEncrypt) &&
System\ServiceModel\Security\WSSecurityOneDotZeroSendSecurityHeader.cs (13)
287MessagePartProtectionMode protectionMode = GetProtectionMode(header); 292case MessagePartProtectionMode.None: 295case MessagePartProtectionMode.Sign: 298case MessagePartProtectionMode.SignThenEncrypt: 303case MessagePartProtectionMode.Encrypt: 307case MessagePartProtectionMode.EncryptThenSign: 363case MessagePartProtectionMode.None: 365case MessagePartProtectionMode.Sign: 377case MessagePartProtectionMode.SignThenEncrypt: 392case MessagePartProtectionMode.Encrypt: 397case MessagePartProtectionMode.EncryptThenSign: 622MessagePartProtectionMode GetProtectionMode(MessageHeader header) 626return MessagePartProtectionMode.None;