3 implementations of ITlsHandshakeFeature
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
29ITlsHandshakeFeature,
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.FeatureCollection.cs (1)
36ITlsHandshakeFeature,
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\TlsConnectionFeature.cs (1)
19internal sealed class TlsConnectionFeature : ITlsConnectionFeature, ITlsApplicationProtocolFeature, ITlsHandshakeFeature, ISslStreamFeature
27 references to ITlsHandshakeFeature
Microsoft.AspNetCore.Server.HttpSys (11)
RequestProcessing\RequestContext.FeatureCollection.cs (10)
385internal ITlsHandshakeFeature? GetTlsHandshakeFeature() 630SslProtocols ITlsHandshakeFeature.Protocol => Request.Protocol; 632TlsCipherSuite? ITlsHandshakeFeature.NegotiatedCipherSuite => Request.NegotiatedCipherSuite; 635CipherAlgorithmType ITlsHandshakeFeature.CipherAlgorithm => Request.CipherAlgorithm; 637int ITlsHandshakeFeature.CipherStrength => Request.CipherStrength; 639HashAlgorithmType ITlsHandshakeFeature.HashAlgorithm => Request.HashAlgorithm; 641int ITlsHandshakeFeature.HashStrength => Request.HashStrength; 643ExchangeAlgorithmType ITlsHandshakeFeature.KeyExchangeAlgorithm => Request.KeyExchangeAlgorithm; 645int ITlsHandshakeFeature.KeyExchangeStrength => Request.KeyExchangeStrength; 648string ITlsHandshakeFeature.HostName => Request.SniHostName;
StandardFeatureCollection.cs (1)
48_featureFuncLookup[typeof(ITlsHandshakeFeature)] = ctx => ctx.GetTlsHandshakeFeature();
Microsoft.AspNetCore.Server.IIS (11)
Core\IISHttpContext.FeatureCollection.cs (10)
410SslProtocols ITlsHandshakeFeature.Protocol => Protocol; 412TlsCipherSuite? ITlsHandshakeFeature.NegotiatedCipherSuite => NegotiatedCipherSuite; 414string ITlsHandshakeFeature.HostName => SniHostName; 417CipherAlgorithmType ITlsHandshakeFeature.CipherAlgorithm => CipherAlgorithm; 420int ITlsHandshakeFeature.CipherStrength => CipherStrength; 423HashAlgorithmType ITlsHandshakeFeature.HashAlgorithm => HashAlgorithm; 426int ITlsHandshakeFeature.HashStrength => HashStrength; 429ExchangeAlgorithmType ITlsHandshakeFeature.KeyExchangeAlgorithm => KeyExchangeAlgorithm; 432int ITlsHandshakeFeature.KeyExchangeStrength => KeyExchangeStrength; 474internal ITlsHandshakeFeature? GetTlsHandshakeFeature()
Core\IISHttpContext.Features.cs (1)
23private static readonly Type ITlsHandshakeFeatureType = typeof(global::Microsoft.AspNetCore.Connections.Features.ITlsHandshakeFeature);
Microsoft.AspNetCore.Server.Kestrel.Core (5)
Internal\Http\Http1Connection.cs (1)
1081if (ConnectionFeatures.Get<ITlsHandshakeFeature>() == null)
Internal\Http2\Http2Connection.cs (3)
508var tlsFeature = ConnectionFeatures.Get<ITlsHandshakeFeature>(); 550if (ConnectionFeatures.Get<ITlsHandshakeFeature>() != null)
Middleware\HttpsConnectionMiddleware.cs (1)
164context.Features.Set<ITlsHandshakeFeature>(feature);