3 implementations of ITlsHandshakeFeature
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
28ITlsHandshakeFeature,
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.FeatureCollection.cs (1)
35ITlsHandshakeFeature,
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\TlsConnectionFeature.cs (1)
15internal sealed class TlsConnectionFeature : ITlsConnectionFeature, ITlsApplicationProtocolFeature, ITlsHandshakeFeature, ISslStreamFeature
27 references to ITlsHandshakeFeature
Microsoft.AspNetCore.Server.HttpSys (11)
RequestProcessing\RequestContext.FeatureCollection.cs (10)
384internal ITlsHandshakeFeature? GetTlsHandshakeFeature() 597SslProtocols ITlsHandshakeFeature.Protocol => Request.Protocol; 599TlsCipherSuite? ITlsHandshakeFeature.NegotiatedCipherSuite => Request.NegotiatedCipherSuite; 602CipherAlgorithmType ITlsHandshakeFeature.CipherAlgorithm => Request.CipherAlgorithm; 604int ITlsHandshakeFeature.CipherStrength => Request.CipherStrength; 606HashAlgorithmType ITlsHandshakeFeature.HashAlgorithm => Request.HashAlgorithm; 608int ITlsHandshakeFeature.HashStrength => Request.HashStrength; 610ExchangeAlgorithmType ITlsHandshakeFeature.KeyExchangeAlgorithm => Request.KeyExchangeAlgorithm; 612int ITlsHandshakeFeature.KeyExchangeStrength => Request.KeyExchangeStrength; 615string ITlsHandshakeFeature.HostName => Request.SniHostName;
StandardFeatureCollection.cs (1)
48_featureFuncLookup[typeof(ITlsHandshakeFeature)] = ctx => ctx.GetTlsHandshakeFeature();
Microsoft.AspNetCore.Server.IIS (11)
Core\IISHttpContext.FeatureCollection.cs (10)
409SslProtocols ITlsHandshakeFeature.Protocol => Protocol; 411TlsCipherSuite? ITlsHandshakeFeature.NegotiatedCipherSuite => NegotiatedCipherSuite; 413string ITlsHandshakeFeature.HostName => SniHostName; 416CipherAlgorithmType ITlsHandshakeFeature.CipherAlgorithm => CipherAlgorithm; 419int ITlsHandshakeFeature.CipherStrength => CipherStrength; 422HashAlgorithmType ITlsHandshakeFeature.HashAlgorithm => HashAlgorithm; 425int ITlsHandshakeFeature.HashStrength => HashStrength; 428ExchangeAlgorithmType ITlsHandshakeFeature.KeyExchangeAlgorithm => KeyExchangeAlgorithm; 431int ITlsHandshakeFeature.KeyExchangeStrength => KeyExchangeStrength; 473internal 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)
163context.Features.Set<ITlsHandshakeFeature>(feature);