3 implementations of ITlsHandshakeFeature
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
28
ITlsHandshakeFeature
,
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.FeatureCollection.cs (1)
35
ITlsHandshakeFeature
,
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\TlsConnectionFeature.cs (1)
15
internal sealed class TlsConnectionFeature : ITlsConnectionFeature, ITlsApplicationProtocolFeature,
ITlsHandshakeFeature
, ISslStreamFeature
27 references to ITlsHandshakeFeature
Microsoft.AspNetCore.Server.HttpSys (11)
RequestProcessing\RequestContext.FeatureCollection.cs (10)
384
internal
ITlsHandshakeFeature
? GetTlsHandshakeFeature()
597
SslProtocols
ITlsHandshakeFeature
.Protocol => Request.Protocol;
599
TlsCipherSuite?
ITlsHandshakeFeature
.NegotiatedCipherSuite => Request.NegotiatedCipherSuite;
602
CipherAlgorithmType
ITlsHandshakeFeature
.CipherAlgorithm => Request.CipherAlgorithm;
604
int
ITlsHandshakeFeature
.CipherStrength => Request.CipherStrength;
606
HashAlgorithmType
ITlsHandshakeFeature
.HashAlgorithm => Request.HashAlgorithm;
608
int
ITlsHandshakeFeature
.HashStrength => Request.HashStrength;
610
ExchangeAlgorithmType
ITlsHandshakeFeature
.KeyExchangeAlgorithm => Request.KeyExchangeAlgorithm;
612
int
ITlsHandshakeFeature
.KeyExchangeStrength => Request.KeyExchangeStrength;
615
string
ITlsHandshakeFeature
.HostName => Request.SniHostName;
StandardFeatureCollection.cs (1)
48
_featureFuncLookup[typeof(
ITlsHandshakeFeature
)] = ctx => ctx.GetTlsHandshakeFeature();
Microsoft.AspNetCore.Server.IIS (11)
Core\IISHttpContext.FeatureCollection.cs (10)
409
SslProtocols
ITlsHandshakeFeature
.Protocol => Protocol;
411
TlsCipherSuite?
ITlsHandshakeFeature
.NegotiatedCipherSuite => NegotiatedCipherSuite;
413
string
ITlsHandshakeFeature
.HostName => SniHostName;
416
CipherAlgorithmType
ITlsHandshakeFeature
.CipherAlgorithm => CipherAlgorithm;
419
int
ITlsHandshakeFeature
.CipherStrength => CipherStrength;
422
HashAlgorithmType
ITlsHandshakeFeature
.HashAlgorithm => HashAlgorithm;
425
int
ITlsHandshakeFeature
.HashStrength => HashStrength;
428
ExchangeAlgorithmType
ITlsHandshakeFeature
.KeyExchangeAlgorithm => KeyExchangeAlgorithm;
431
int
ITlsHandshakeFeature
.KeyExchangeStrength => KeyExchangeStrength;
473
internal
ITlsHandshakeFeature
? GetTlsHandshakeFeature()
Core\IISHttpContext.Features.cs (1)
23
private static readonly Type ITlsHandshakeFeatureType = typeof(global::Microsoft.AspNetCore.Connections.Features.
ITlsHandshakeFeature
);
Microsoft.AspNetCore.Server.Kestrel.Core (5)
Internal\Http\Http1Connection.cs (1)
1081
if (ConnectionFeatures.Get<
ITlsHandshakeFeature
>() == null)
Internal\Http2\Http2Connection.cs (3)
508
var
tlsFeature = ConnectionFeatures.Get<
ITlsHandshakeFeature
>();
550
if (ConnectionFeatures.Get<
ITlsHandshakeFeature
>() != null)
Middleware\HttpsConnectionMiddleware.cs (1)
163
context.Features.Set<
ITlsHandshakeFeature
>(feature);