25 references to PolicyEnforcement
dotnet-svcutil-lib (3)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ChannelBindingUtility.cs (1)
14
private static ExtendedProtectionPolicy s_disabledPolicy = new ExtendedProtectionPolicy(
PolicyEnforcement
.Never);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpTransportBindingElement.cs (1)
166
if (value.PolicyEnforcement ==
PolicyEnforcement
.Always &&
FrameworkFork\System.ServiceModel\System\ServiceModel\HttpTransportSecurity.cs (1)
59
if (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)
33
if (policy.PolicyEnforcement ==
PolicyEnforcement
.Never)
35
parameterTypes = new Type[] { typeof(
PolicyEnforcement
) };
36
parameterValues = new object[] {
PolicyEnforcement
.Never };
40
parameterTypes = 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)
414
if (_extendedProtectionPolicy.PolicyEnforcement ==
PolicyEnforcement
.Never)
436
if (_extendedProtectionPolicy.PolicyEnforcement ==
PolicyEnforcement
.WhenSupported)
System\Net\Security\NegotiateStream.cs (1)
615
_extendedProtectionPolicy = new ExtendedProtectionPolicy(
PolicyEnforcement
.Never);
System\Security\Authentication\ExtendedProtection\ExtendedProtectionPolicy.cs (8)
19
private readonly
PolicyEnforcement
_policyEnforcement;
23
public ExtendedProtectionPolicy(
PolicyEnforcement
policyEnforcement,
27
if (policyEnforcement ==
PolicyEnforcement
.Never)
42
public ExtendedProtectionPolicy(
PolicyEnforcement
policyEnforcement,
50
public ExtendedProtectionPolicy(
PolicyEnforcement
policyEnforcement,
53
if (policyEnforcement ==
PolicyEnforcement
.Never)
64
public ExtendedProtectionPolicy(
PolicyEnforcement
policyEnforcement)
88
public
PolicyEnforcement
PolicyEnforcement
System.ServiceModel.Http.Tests (1)
ServiceModel\BasicHttpBindingTest.cs (1)
336
var epp = new ExtendedProtectionPolicy(
PolicyEnforcement
.WhenSupported);
System.ServiceModel.UnixDomainSocket (3)
System\ServiceModel\Channels\ChannelBindingUtility.cs (1)
10
private static readonly ExtendedProtectionPolicy s_disabledPolicy = new ExtendedProtectionPolicy(
PolicyEnforcement
.Never);
System\ServiceModel\Channels\UnixDomainSocketTransportBindingElement.cs (1)
43
if (value.PolicyEnforcement ==
PolicyEnforcement
.Always &&
System\ServiceModel\UnixDomainSocketTransportSecurity.cs (1)
74
if (value.PolicyEnforcement ==
PolicyEnforcement
.Always &&