4 instantiations of ExtendedProtectionPolicy
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ChannelBindingUtility.cs (1)
14private static ExtendedProtectionPolicy s_disabledPolicy = new ExtendedProtectionPolicy(PolicyEnforcement.Never);
System.Net.HttpListener (1)
System\Net\HttpListener.cs (1)
44_extendedProtectionPolicy = new ExtendedProtectionPolicy(PolicyEnforcement.Never);
System.ServiceModel.Http.Tests (1)
ServiceModel\BasicHttpBindingTest.cs (1)
336var epp = new ExtendedProtectionPolicy(PolicyEnforcement.WhenSupported);
System.ServiceModel.UnixDomainSocket (1)
System\ServiceModel\Channels\ChannelBindingUtility.cs (1)
10private static readonly ExtendedProtectionPolicy s_disabledPolicy = new ExtendedProtectionPolicy(PolicyEnforcement.Never);
37 references to ExtendedProtectionPolicy
dotnet-svcutil-lib (13)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ChannelBindingUtility.cs (4)
14private static ExtendedProtectionPolicy s_disabledPolicy = new ExtendedProtectionPolicy(PolicyEnforcement.Never); 15private static ExtendedProtectionPolicy s_defaultPolicy = s_disabledPolicy; 17public static ExtendedProtectionPolicy DisabledPolicy 25public static ExtendedProtectionPolicy DefaultPolicy
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpTransportBindingElement.cs (4)
36private ExtendedProtectionPolicy _extendedProtectionPolicy; 153public ExtendedProtectionPolicy ExtendedProtectionPolicy 167!System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy.OSSupportsExtendedProtection) 426else if (typeof(T) == typeof(ExtendedProtectionPolicy))
FrameworkFork\System.ServiceModel\System\ServiceModel\HttpTransportSecurity.cs (3)
18private ExtendedProtectionPolicy _extendedProtectionPolicy; 46public ExtendedProtectionPolicy ExtendedProtectionPolicy 60!System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy.OSSupportsExtendedProtection)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\ISspiNegotiation.cs (1)
42byte[] GetOutgoingBlob(byte[] incomingBlob, ChannelBinding channelbinding, ExtendedProtectionPolicy protectionPolicy);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityProtocolFactory.cs (1)
118private ExtendedProtectionPolicy _extendedProtectionPolicy;
netstandard (1)
netstandard.cs (1)
1827[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
842[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy))]
System.ComponentModel.TypeConverter (2)
System\Security\Authentication\ExtendedProtection\ExtendedProtectionPolicyTypeConverter.cs (2)
28if (value is ExtendedProtectionPolicy policy) 52ConstructorInfo? constructor = typeof(ExtendedProtectionPolicy).GetConstructor(parameterTypes);
System.Net.HttpListener (3)
System\Net\HttpListener.cs (3)
16public delegate ExtendedProtectionPolicy ExtendedProtectionSelector(HttpListenerRequest request); 25private ExtendedProtectionPolicy _extendedProtectionPolicy; 80public ExtendedProtectionPolicy ExtendedProtectionPolicy
System.Net.Security (7)
artifacts\obj\System.Net.Security\Debug\net10.0\System.Net.Security.notsupported.cs (7)
80public System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy? Policy { get { throw new System.PlatformNotSupportedException(System.SR.SystemNetSecurity_PlatformNotSupported); } set { throw new System.PlatformNotSupportedException(System.SR.SystemNetSecurity_PlatformNotSupported); } } 134public virtual void AuthenticateAsServer(System.Net.NetworkCredential credential, System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy? policy, System.Net.Security.ProtectionLevel requiredProtectionLevel, System.Security.Principal.TokenImpersonationLevel requiredImpersonationLevel) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSecurity_PlatformNotSupported); } 135public virtual void AuthenticateAsServer(System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy? policy) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSecurity_PlatformNotSupported); } 138public virtual System.Threading.Tasks.Task AuthenticateAsServerAsync(System.Net.NetworkCredential credential, System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy? policy, System.Net.Security.ProtectionLevel requiredProtectionLevel, System.Security.Principal.TokenImpersonationLevel requiredImpersonationLevel) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSecurity_PlatformNotSupported); } 139public virtual System.Threading.Tasks.Task AuthenticateAsServerAsync(System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy? policy) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSecurity_PlatformNotSupported); } 147public virtual System.IAsyncResult BeginAuthenticateAsServer(System.Net.NetworkCredential credential, System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy? policy, System.Net.Security.ProtectionLevel requiredProtectionLevel, System.Security.Principal.TokenImpersonationLevel requiredImpersonationLevel, System.AsyncCallback? asyncCallback, object? asyncState) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSecurity_PlatformNotSupported); } 148public virtual System.IAsyncResult BeginAuthenticateAsServer(System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy? policy, System.AsyncCallback? asyncCallback, object? asyncState) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSecurity_PlatformNotSupported); }
System.ServiceModel.Http.Tests (1)
ServiceModel\BasicHttpBindingTest.cs (1)
336var epp = new ExtendedProtectionPolicy(PolicyEnforcement.WhenSupported);
System.ServiceModel.UnixDomainSocket (9)
System\ServiceModel\Channels\ChannelBindingUtility.cs (2)
10private static readonly ExtendedProtectionPolicy s_disabledPolicy = new ExtendedProtectionPolicy(PolicyEnforcement.Never); 11public static ExtendedProtectionPolicy DefaultPolicy { get; } = s_disabledPolicy;
System\ServiceModel\Channels\UnixDomainSocketTransportBindingElement.cs (4)
10ExtendedProtectionPolicy _extendedProtectionPolicy; 30public ExtendedProtectionPolicy ExtendedProtectionPolicy 44!ExtendedProtectionPolicy.OSSupportsExtendedProtection) 84else if (typeof(T) == typeof(ExtendedProtectionPolicy))
System\ServiceModel\UnixDomainSocketTransportSecurity.cs (3)
21private ExtendedProtectionPolicy _extendedProtectionPolicy; 61public ExtendedProtectionPolicy ExtendedProtectionPolicy 75!ExtendedProtectionPolicy.OSSupportsExtendedProtection)