47 references to ChannelBindingKind
dotnet-svcutil-lib (7)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ChannelBindingUtility.cs (1)
45token = context.GetChannelBinding(ChannelBindingKind.Endpoint);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\IStreamUpgradeChannelBindingProvider.cs (2)
15ChannelBinding GetChannelBinding(StreamUpgradeInitiator upgradeInitiator, ChannelBindingKind kind); 16ChannelBinding GetChannelBinding(StreamUpgradeAcceptor upgradeAcceptor, ChannelBindingKind kind);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (4)
159ChannelBinding IStreamUpgradeChannelBindingProvider.GetChannelBinding(StreamUpgradeInitiator upgradeInitiator, ChannelBindingKind kind) 173if (kind != ChannelBindingKind.Endpoint) 181ChannelBinding IStreamUpgradeChannelBindingProvider.GetChannelBinding(StreamUpgradeAcceptor upgradeAcceptor, ChannelBindingKind kind) 195if (kind != ChannelBindingKind.Endpoint)
Microsoft.AspNetCore.Authentication.Negotiate (1)
NegotiateHandler.cs (1)
417tlsConnectionFeature.TryGetChannelBindingBytes(ChannelBindingKind.Endpoint, out var channelBindingToken))
Microsoft.AspNetCore.Http.Features (1)
ITlsConnectionFeature.cs (1)
49bool TryGetChannelBindingBytes(ChannelBindingKind kind, out ReadOnlyMemory<byte> channelBindingToken)
Microsoft.AspNetCore.Server.HttpSys (2)
RequestProcessing\RequestContext.FeatureCollection.cs (2)
390bool ITlsConnectionFeature.TryGetChannelBindingBytes(ChannelBindingKind kind, out ReadOnlyMemory<byte> channelBindingToken) 396if (kind != ChannelBindingKind.Endpoint)
Microsoft.AspNetCore.Server.IIS (2)
Core\IISHttpContext.FeatureCollection.cs (2)
479bool ITlsConnectionFeature.TryGetChannelBindingBytes(ChannelBindingKind kind, out ReadOnlyMemory<byte> channelBindingToken) 485if (kind != ChannelBindingKind.Endpoint)
Microsoft.AspNetCore.Server.Kestrel.Core (7)
_generated\0\LoggerMessage.g.cs (3)
1620private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Security.Authentication.ExtendedProtection.ChannelBindingKind, global::System.Exception?> __FailedToReadChannelBindingCallback = 1621global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Security.Authentication.ExtendedProtection.ChannelBindingKind>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(10, "FailedToReadChannelBinding"), "Failed to read TLS channel binding token of kind {ChannelBindingKind}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); 1628public static partial void FailedToReadChannelBinding(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionMiddleware> logger, global::System.Security.Authentication.ExtendedProtection.ChannelBindingKind channelBindingKind, global::System.Exception exception)
Internal\TlsConnectionFeature.cs (3)
195bool ITlsConnectionFeature.TryGetChannelBindingBytes(ChannelBindingKind kind, out ReadOnlyMemory<byte> channelBindingToken) 200if (_snapshotted || (kind != ChannelBindingKind.Endpoint && kind != ChannelBindingKind.Unique))
Middleware\HttpsConnectionMiddleware.cs (1)
651public static partial void FailedToReadChannelBinding(this ILogger<HttpsConnectionMiddleware> logger, ChannelBindingKind channelBindingKind, Exception exception);
netstandard (1)
netstandard.cs (1)
1826[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Authentication.ExtendedProtection.ChannelBindingKind))]
System (1)
src\runtime\src\libraries\shims\System\ref\System.cs (1)
841[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Authentication.ExtendedProtection.ChannelBindingKind))]
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\AuthenticationHelper.NtAuth.cs (1)
147Binding = connection.TransportContext?.GetChannelBinding(ChannelBindingKind.Endpoint),
System.Net.Http.WinHttpHandler (2)
System\Net\Http\WinHttpTransportContext.cs (2)
19public override ChannelBinding? GetChannelBinding(ChannelBindingKind kind) 22if (kind == ChannelBindingKind.Endpoint)
System.Net.HttpListener (2)
System\Net\Managed\HttpListenerRequest.Managed.cs (2)
49public override ChannelBinding? GetChannelBinding(ChannelBindingKind kind) 51if (kind != ChannelBindingKind.Endpoint)
System.Net.Primitives (1)
System\Net\TransportContext.cs (1)
10public abstract ChannelBinding? GetChannelBinding(ChannelBindingKind kind);
System.Net.Security (13)
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (3)
106internal static SafeChannelBindingHandle? QueryChannelBinding(SafeSslHandle context, ChannelBindingKind bindingType) 109bindingType != ChannelBindingKind.Endpoint, 115case ChannelBindingKind.Unique:
System\Net\Security\Pal.Managed\EndpointChannelBindingToken.cs (1)
19SafeChannelBindingHandle bindingHandle = new SafeChannelBindingHandle(ChannelBindingKind.Endpoint);
System\Net\Security\Pal.Managed\SafeChannelBindingHandle.cs (4)
31internal unsafe SafeChannelBindingHandle(ChannelBindingKind kind) 33Debug.Assert(kind == ChannelBindingKind.Endpoint || kind == ChannelBindingKind.Unique); 34ReadOnlySpan<byte> cbtPrefix = kind == ChannelBindingKind.Endpoint ?
System\Net\Security\SslStream.Protocol.cs (1)
102internal ChannelBinding? GetChannelBinding(ChannelBindingKind kind)
System\Net\Security\SslStreamPal.Unix.cs (2)
130public static ChannelBinding? QueryContextChannelBinding(SafeDeleteSslContext securityContext, ChannelBindingKind attribute) 134if (attribute == ChannelBindingKind.Endpoint)
System\Net\Security\TlsSession.cs (1)
808public ChannelBinding? GetChannelBinding(ChannelBindingKind kind)
System\Net\SslStreamContext.cs (1)
20public override ChannelBinding? GetChannelBinding(ChannelBindingKind kind) =>
System.ServiceModel.NetFramingBase (6)
System\ServiceModel\Channels\ChannelBindingUtility.cs (1)
26token = context.GetChannelBinding(ChannelBindingKind.Endpoint);
System\ServiceModel\Channels\FramingChannels.cs (1)
243SetChannelBinding(channelBindingProvider.GetChannelBinding(upgradeInitiator, ChannelBindingKind.Endpoint));
System\ServiceModel\Channels\IStreamUpgradeChannelBindingProvider.cs (1)
11ChannelBinding GetChannelBinding(StreamUpgradeInitiator upgradeInitiator, ChannelBindingKind kind);
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (2)
105ChannelBinding IStreamUpgradeChannelBindingProvider.GetChannelBinding(StreamUpgradeInitiator upgradeInitiator, ChannelBindingKind kind) 119if (kind != ChannelBindingKind.Endpoint)
System\ServiceModel\Channels\StreamedFramingRequestChannel.cs (1)
89_channelBindingToken = channelBindingProvider.GetChannelBinding(upgradeInitiator, ChannelBindingKind.Endpoint);