46 references to SecurityHeaderLayout
System.ServiceModel (46)
System\ServiceModel\BasicHttpMessageSecurity.cs (2)
82
result.SecurityHeaderLayout =
SecurityHeaderLayout
.Lax;
101
if (sbe.SecurityHeaderLayout !=
SecurityHeaderLayout
.Lax)
System\ServiceModel\Channels\SecurityBindingElement.cs (2)
46
SecurityHeaderLayout
securityHeaderLayout;
149
public
SecurityHeaderLayout
SecurityHeaderLayout
System\ServiceModel\Channels\SecurityHeaderLayout.cs (7)
18
public static bool IsDefined(
SecurityHeaderLayout
value)
20
return (value ==
SecurityHeaderLayout
.Lax
21
|| value ==
SecurityHeaderLayout
.LaxTimestampFirst
22
|| value ==
SecurityHeaderLayout
.LaxTimestampLast
23
|| value ==
SecurityHeaderLayout
.Strict);
26
public static void Validate(
SecurityHeaderLayout
value)
31
typeof(
SecurityHeaderLayout
)));
System\ServiceModel\Configuration\Properties.cs (2)
2995
properties.Add(new ConfigurationProperty("securityHeaderLayout", typeof(System.ServiceModel.Channels.
SecurityHeaderLayout
), System.ServiceModel.Channels.
SecurityHeaderLayout
.Strict, null, new System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.Channels.SecurityHeaderLayoutHelper)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Configuration\SecurityElementBase.cs (2)
80
public
SecurityHeaderLayout
SecurityHeaderLayout
82
get { return (
SecurityHeaderLayout
)base[ConfigurationStrings.SecurityHeaderLayout]; }
System\ServiceModel\Security\ReceiveSecurityHeader.cs (2)
1039
Fx.Assert(this.Layout !=
SecurityHeaderLayout
.Strict, "Invalid Calling sequence. This method assumes it will be called only during Lax mode.");
1671
if (this.Layout ==
SecurityHeaderLayout
.Strict)
System\ServiceModel\Security\SecurityHeader.cs (3)
29
SecurityHeaderLayout
layout =
SecurityHeaderLayout
.Strict;
118
public
SecurityHeaderLayout
Layout
System\ServiceModel\Security\SecurityHeaderElementInferenceEngine.cs (5)
17
public static SecurityHeaderElementInferenceEngine GetInferenceEngine(
SecurityHeaderLayout
layout)
23
case
SecurityHeaderLayout
.Strict:
25
case
SecurityHeaderLayout
.Lax:
27
case
SecurityHeaderLayout
.LaxTimestampFirst:
29
case
SecurityHeaderLayout
.LaxTimestampLast:
System\ServiceModel\Security\SecurityProtocolFactory.cs (4)
76
internal const
SecurityHeaderLayout
defaultSecurityHeaderLayout =
SecurityHeaderLayout
.Strict;
107
SecurityHeaderLayout
securityHeaderLayout;
543
public
SecurityHeaderLayout
SecurityHeaderLayout
System\ServiceModel\Security\SecuritySessionServerSettings.cs (1)
740
MessageFilter sctFilter = new SecuritySessionFilter(sessionToken.ContextId, this.sessionProtocolFactory.StandardsManager, (this.sessionProtocolFactory.SecurityHeaderLayout ==
SecurityHeaderLayout
.Strict), this.SecurityStandardsManager.SecureConversationDriver.RenewAction.Value, this.SecurityStandardsManager.SecureConversationDriver.RenewResponseAction.Value);
System\ServiceModel\Security\SendSecurityHeader.cs (2)
598
if (this.elementContainer.Timestamp != null && this.Layout !=
SecurityHeaderLayout
.LaxTimestampLast)
733
if (this.elementContainer.Timestamp != null && this.Layout ==
SecurityHeaderLayout
.LaxTimestampLast)
System\ServiceModel\Security\WSSecurityPolicy.cs (14)
1478
public virtual XmlElement CreateWsspLayoutAssertion(MetadataExporter exporter,
SecurityHeaderLayout
layout)
1497
SecurityHeaderLayout
layout;
1516
binding.SecurityHeaderLayout =
SecurityHeaderLayout
.Lax;
1523
public virtual XmlElement CreateLayoutAssertion(
SecurityHeaderLayout
layout)
1529
case
SecurityHeaderLayout
.Lax:
1531
case
SecurityHeaderLayout
.LaxTimestampFirst:
1533
case
SecurityHeaderLayout
.LaxTimestampLast:
1535
case
SecurityHeaderLayout
.Strict:
1540
public virtual bool TryImportLayoutAssertion(ICollection<XmlElement> assertions, out
SecurityHeaderLayout
layout)
1543
layout =
SecurityHeaderLayout
.Lax;
1547
layout =
SecurityHeaderLayout
.Lax;
1551
layout =
SecurityHeaderLayout
.LaxTimestampFirst;
1555
layout =
SecurityHeaderLayout
.LaxTimestampLast;
1559
layout =
SecurityHeaderLayout
.Strict;