4 instantiations of ExtendedProtectionPolicy
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ChannelBindingUtility.cs (1)
14
private 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)
336
var epp = new
ExtendedProtectionPolicy
(PolicyEnforcement.WhenSupported);
System.ServiceModel.UnixDomainSocket (1)
System\ServiceModel\Channels\ChannelBindingUtility.cs (1)
10
private 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)
14
private static
ExtendedProtectionPolicy
s_disabledPolicy = new ExtendedProtectionPolicy(PolicyEnforcement.Never);
15
private static
ExtendedProtectionPolicy
s_defaultPolicy = s_disabledPolicy;
17
public static
ExtendedProtectionPolicy
DisabledPolicy
25
public static
ExtendedProtectionPolicy
DefaultPolicy
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpTransportBindingElement.cs (4)
36
private
ExtendedProtectionPolicy
_extendedProtectionPolicy;
153
public
ExtendedProtectionPolicy
ExtendedProtectionPolicy
167
!System.Security.Authentication.ExtendedProtection.
ExtendedProtectionPolicy
.OSSupportsExtendedProtection)
426
else if (typeof(T) == typeof(
ExtendedProtectionPolicy
))
FrameworkFork\System.ServiceModel\System\ServiceModel\HttpTransportSecurity.cs (3)
18
private
ExtendedProtectionPolicy
_extendedProtectionPolicy;
46
public
ExtendedProtectionPolicy
ExtendedProtectionPolicy
60
!System.Security.Authentication.ExtendedProtection.
ExtendedProtectionPolicy
.OSSupportsExtendedProtection)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\ISspiNegotiation.cs (1)
42
byte[] GetOutgoingBlob(byte[] incomingBlob, ChannelBinding channelbinding,
ExtendedProtectionPolicy
protectionPolicy);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityProtocolFactory.cs (1)
118
private
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)
28
if (value is
ExtendedProtectionPolicy
policy)
52
ConstructorInfo? constructor = typeof(
ExtendedProtectionPolicy
).GetConstructor(parameterTypes);
System.Net.HttpListener (3)
System\Net\HttpListener.cs (3)
16
public delegate
ExtendedProtectionPolicy
ExtendedProtectionSelector(HttpListenerRequest request);
25
private
ExtendedProtectionPolicy
_extendedProtectionPolicy;
80
public
ExtendedProtectionPolicy
ExtendedProtectionPolicy
System.Net.Security (7)
artifacts\obj\System.Net.Security\Debug\net10.0\System.Net.Security.notsupported.cs (7)
80
public System.Security.Authentication.ExtendedProtection.
ExtendedProtectionPolicy
? Policy { get { throw new System.PlatformNotSupportedException(System.SR.SystemNetSecurity_PlatformNotSupported); } set { throw new System.PlatformNotSupportedException(System.SR.SystemNetSecurity_PlatformNotSupported); } }
134
public 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); }
135
public virtual void AuthenticateAsServer(System.Security.Authentication.ExtendedProtection.
ExtendedProtectionPolicy
? policy) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSecurity_PlatformNotSupported); }
138
public 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); }
139
public virtual System.Threading.Tasks.Task AuthenticateAsServerAsync(System.Security.Authentication.ExtendedProtection.
ExtendedProtectionPolicy
? policy) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSecurity_PlatformNotSupported); }
147
public 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); }
148
public 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)
336
var
epp = new ExtendedProtectionPolicy(PolicyEnforcement.WhenSupported);
System.ServiceModel.UnixDomainSocket (9)
System\ServiceModel\Channels\ChannelBindingUtility.cs (2)
10
private static readonly
ExtendedProtectionPolicy
s_disabledPolicy = new ExtendedProtectionPolicy(PolicyEnforcement.Never);
11
public static
ExtendedProtectionPolicy
DefaultPolicy { get; } = s_disabledPolicy;
System\ServiceModel\Channels\UnixDomainSocketTransportBindingElement.cs (4)
10
ExtendedProtectionPolicy
_extendedProtectionPolicy;
30
public
ExtendedProtectionPolicy
ExtendedProtectionPolicy
44
!
ExtendedProtectionPolicy
.OSSupportsExtendedProtection)
84
else if (typeof(T) == typeof(
ExtendedProtectionPolicy
))
System\ServiceModel\UnixDomainSocketTransportSecurity.cs (3)
21
private
ExtendedProtectionPolicy
_extendedProtectionPolicy;
61
public
ExtendedProtectionPolicy
ExtendedProtectionPolicy
75
!
ExtendedProtectionPolicy
.OSSupportsExtendedProtection)