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