44 references to MessageProtectionOrder
System.ServiceModel (44)
System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (2)
25MessageProtectionOrder messageProtectionOrder; 99public MessageProtectionOrder MessageProtectionOrder
System\ServiceModel\Channels\SecurityBindingElement.cs (3)
31internal const MessageProtectionOrder defaultMessageProtectionOrder = MessageProtectionOrder.SignBeforeEncryptAndEncryptSignature; 944result.MessageProtectionOrder = MessageProtectionOrder.SignBeforeEncrypt;
System\ServiceModel\Channels\SymmetricSecurityBindingElement.cs (2)
21MessageProtectionOrder messageProtectionOrder; 60public MessageProtectionOrder MessageProtectionOrder
System\ServiceModel\Configuration\Properties.cs (2)
3002properties.Add(new ConfigurationProperty("messageProtectionOrder", typeof(System.ServiceModel.Security.MessageProtectionOrder), System.ServiceModel.Security.MessageProtectionOrder.SignBeforeEncryptAndEncryptSignature, null, new System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.Security.MessageProtectionOrderHelper)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Configuration\SecurityElementBase.cs (2)
128public MessageProtectionOrder MessageProtectionOrder 130get { return (MessageProtectionOrder)base[ConfigurationStrings.MessageProtectionOrder]; }
System\ServiceModel\Security\MessageProtectionOrder.cs (4)
15internal static bool IsDefined(MessageProtectionOrder value) 17return value == MessageProtectionOrder.SignBeforeEncrypt 18|| value == MessageProtectionOrder.SignBeforeEncryptAndEncryptSignature 19|| value == MessageProtectionOrder.EncryptBeforeSign;
System\ServiceModel\Security\MessageSecurityProtocol.cs (2)
312securityHeader.SignThenEncrypt = factory.MessageProtectionOrder != MessageProtectionOrder.EncryptBeforeSign; 316securityHeader.EncryptPrimarySignature = factory.MessageProtectionOrder == MessageProtectionOrder.SignBeforeEncryptAndEncryptSignature;
System\ServiceModel\Security\MessageSecurityProtocolFactory.cs (4)
24internal const MessageProtectionOrder defaultMessageProtectionOrder = MessageProtectionOrder.SignBeforeEncrypt; 32MessageProtectionOrder messageProtectionOrder = defaultMessageProtectionOrder; 117public MessageProtectionOrder MessageProtectionOrder
System\ServiceModel\Security\ReceiveSecurityHeader.cs (13)
103MessageProtectionOrder protectionOrder; 339if ((this.protectionOrder == MessageProtectionOrder.SignBeforeEncryptAndEncryptSignature) && 725MessageProtectionOrder actualProtectionOrder = this.protectionOrder; 727if (this.protectionOrder == MessageProtectionOrder.SignBeforeEncryptAndEncryptSignature) 733actualProtectionOrder = MessageProtectionOrder.SignBeforeEncrypt; 1828public void SetRequiredProtectionOrder(MessageProtectionOrder protectionOrder) 1861MessageProtectionOrder protectionOrder; 1871get { return this.enforce && this.protectionOrder == MessageProtectionOrder.EncryptBeforeSign; } 1893case MessageProtectionOrder.SignBeforeEncryptAndEncryptSignature: 1899goto case MessageProtectionOrder.SignBeforeEncrypt; 1900case MessageProtectionOrder.SignBeforeEncrypt: 1907case MessageProtectionOrder.EncryptBeforeSign: 1965public void SetRequiredProtectionOrder(MessageProtectionOrder protectionOrder)
System\ServiceModel\Security\WSSecurityPolicy.cs (10)
468MessageProtectionOrder order; 530MessageProtectionOrder order; 1299MessageProtectionOrder protectionOrder; 1309if (protectionOrder == MessageProtectionOrder.SignBeforeEncryptAndEncryptSignature 1403public virtual XmlElement CreateWsspEncryptBeforeSigningAssertion(MessageProtectionOrder protectionOrder) 1405if (protectionOrder == MessageProtectionOrder.EncryptBeforeSign) 1428public virtual bool TryImportMessageProtectionOrderAssertions(ICollection<XmlElement> assertions, out MessageProtectionOrder order) 1432order = MessageProtectionOrder.EncryptBeforeSign; 1436order = MessageProtectionOrder.SignBeforeEncryptAndEncryptSignature; 1440order = MessageProtectionOrder.SignBeforeEncrypt;