31 references to PolicyEnforcement
dotnet-svcutil-lib (3)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ChannelBindingUtility.cs (1)
14private static ExtendedProtectionPolicy s_disabledPolicy = new ExtendedProtectionPolicy(PolicyEnforcement.Never);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpTransportBindingElement.cs (1)
166if (value.PolicyEnforcement == PolicyEnforcement.Always &&
FrameworkFork\System.ServiceModel\System\ServiceModel\HttpTransportSecurity.cs (1)
59if (value.PolicyEnforcement == PolicyEnforcement.Always &&
netstandard (1)
netstandard.cs (1)
1829[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Authentication.ExtendedProtection.PolicyEnforcement))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
844[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Authentication.ExtendedProtection.PolicyEnforcement))]
System.ComponentModel.TypeConverter (4)
System\Security\Authentication\ExtendedProtection\ExtendedProtectionPolicyTypeConverter.cs (4)
33if (policy.PolicyEnforcement == PolicyEnforcement.Never) 35parameterTypes = new Type[] { typeof(PolicyEnforcement) }; 36parameterValues = new object[] { PolicyEnforcement.Never }; 40parameterTypes = new Type[] { typeof(PolicyEnforcement), typeof(ProtectionScenario), typeof(ICollection) };
System.Net.HttpListener (1)
System\Net\HttpListener.cs (1)
44_extendedProtectionPolicy = new ExtendedProtectionPolicy(PolicyEnforcement.Never);
System.Net.Security (11)
System\Net\Security\NegotiateAuthentication.cs (2)
414if (_extendedProtectionPolicy.PolicyEnforcement == PolicyEnforcement.Never) 436if (_extendedProtectionPolicy.PolicyEnforcement == PolicyEnforcement.WhenSupported)
System\Net\Security\NegotiateStream.cs (1)
615_extendedProtectionPolicy = new ExtendedProtectionPolicy(PolicyEnforcement.Never);
System\Security\Authentication\ExtendedProtection\ExtendedProtectionPolicy.cs (8)
19private readonly PolicyEnforcement _policyEnforcement; 23public ExtendedProtectionPolicy(PolicyEnforcement policyEnforcement, 27if (policyEnforcement == PolicyEnforcement.Never) 42public ExtendedProtectionPolicy(PolicyEnforcement policyEnforcement, 50public ExtendedProtectionPolicy(PolicyEnforcement policyEnforcement, 53if (policyEnforcement == PolicyEnforcement.Never) 64public ExtendedProtectionPolicy(PolicyEnforcement policyEnforcement) 88public PolicyEnforcement PolicyEnforcement
System.ServiceModel.Http (2)
System\ServiceModel\Channels\HttpTransportBindingElement.cs (1)
125if (value.PolicyEnforcement == PolicyEnforcement.Always &&
System\ServiceModel\HttpTransportSecurity.cs (1)
73if (value.PolicyEnforcement == PolicyEnforcement.Always &&
System.ServiceModel.Http.Tests (1)
ServiceModel\BasicHttpBindingTest.cs (1)
336var epp = new ExtendedProtectionPolicy(PolicyEnforcement.WhenSupported);
System.ServiceModel.NetTcp (3)
System\ServiceModel\Channels\ChannelBindingUtility.cs (1)
10private static readonly ExtendedProtectionPolicy s_disabledPolicy = new ExtendedProtectionPolicy(PolicyEnforcement.Never);
System\ServiceModel\Channels\TcpTransportBindingElement.cs (1)
43if (value.PolicyEnforcement == PolicyEnforcement.Always &&
System\ServiceModel\TcpTransportSecurity.cs (1)
73if (value.PolicyEnforcement == PolicyEnforcement.Always &&
System.ServiceModel.Primitives (1)
System\ServiceModel\Channels\ChannelBindingUtility.cs (1)
14private static readonly ExtendedProtectionPolicy s_disabledPolicy = new ExtendedProtectionPolicy(PolicyEnforcement.Never);
System.ServiceModel.UnixDomainSocket (3)
System\ServiceModel\Channels\ChannelBindingUtility.cs (1)
10private static readonly ExtendedProtectionPolicy s_disabledPolicy = new ExtendedProtectionPolicy(PolicyEnforcement.Never);
System\ServiceModel\Channels\UnixDomainSocketTransportBindingElement.cs (1)
43if (value.PolicyEnforcement == PolicyEnforcement.Always &&
System\ServiceModel\UnixDomainSocketTransportSecurity.cs (1)
74if (value.PolicyEnforcement == PolicyEnforcement.Always &&