11 references to SslProtocol
Interop.FunctionalTests (1)
Http2\Http2RequestTests.cs (1)
100
protocolTcs.SetResult(c.Features.Get<ISslStreamFeature>().SslStream.
SslProtocol
);
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\TlsConnectionFeature.cs (1)
49
public SslProtocols Protocol => _sslStream.
SslProtocol
;
Middleware\HttpsConnectionMiddleware.cs (3)
201
_metrics.TlsHandshakeStop(metricsContext, startTimestamp, Stopwatch.GetTimestamp(), protocol: sslStream.
SslProtocol
);
203
_logger.HttpsConnectionEstablished(context.ConnectionId, sslStream.
SslProtocol
);
207
if (KestrelMetrics.TryGetHandshakeProtocol(sslStream.
SslProtocol
, out var protocolName, out var protocolVersion))
System.Net.Http (3)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http2.cs (2)
198
if (sslStream.
SslProtocol
< SslProtocols.Tls12)
201
connectionException = new HttpRequestException(SR.Format(SR.net_ssl_http2_requires_tls12, sslStream.
SslProtocol
));
System\Net\Http\SocketsHttpHandler\HttpConnectionBase.cs (1)
154
$"SslProtocol:{sslStream.
SslProtocol
}, NegotiatedApplicationProtocol:{sslStream.NegotiatedApplicationProtocol}, " +
System.Net.Security (3)
System\Net\Security\SslStream.IO.cs (3)
398
SslProtocol
,
476
if (_isRenego &&
SslProtocol
!= SslProtocols.Tls13)
805
if (_sslAuthenticationOptions.AllowRenegotiation ||
SslProtocol
== SslProtocols.Tls13 || _nestedAuth != NestedState.StreamNotInUse)