1 write to _sslStream
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\TlsConnectionFeature.cs (1)
46
_sslStream
= sslStream;
25 references to _sslStream
Microsoft.AspNetCore.Server.Kestrel.Core (25)
Internal\TlsConnectionFeature.cs (25)
63
if (
_sslStream
is null)
70
_protocol =
_sslStream
.SslProtocol;
71
_negotiatedCipherSuite =
_sslStream
.NegotiatedCipherSuite;
72
_applicationProtocol =
_sslStream
.NegotiatedApplicationProtocol.Protocol.ToArray();
75
_cipherAlgorithm =
_sslStream
.CipherAlgorithm;
76
_cipherStrength =
_sslStream
.CipherStrength;
77
_hashAlgorithm =
_sslStream
.HashAlgorithm;
78
_hashStrength =
_sslStream
.HashStrength;
79
_keyExchangeAlgorithm =
_sslStream
.KeyExchangeAlgorithm;
80
_keyExchangeStrength =
_sslStream
.KeyExchangeStrength;
83
_clientCert ??= ConvertToX509Certificate2(
_sslStream
.RemoteCertificate);
98
return _clientCert ??= ConvertToX509Certificate2(
_sslStream
.RemoteCertificate);
109
public ReadOnlyMemory<byte> ApplicationProtocol => _snapshotted ? _applicationProtocol :
_sslStream
.NegotiatedApplicationProtocol.Protocol;
111
public SslProtocols Protocol => _snapshotted ? _protocol :
_sslStream
.SslProtocol;
113
public SslStream SslStream =>
_sslStream
;
119
public TlsCipherSuite? NegotiatedCipherSuite => _snapshotted ? _negotiatedCipherSuite :
_sslStream
.NegotiatedCipherSuite;
122
public CipherAlgorithmType CipherAlgorithm => _snapshotted ? _cipherAlgorithm :
_sslStream
.CipherAlgorithm;
125
public int CipherStrength => _snapshotted ? _cipherStrength :
_sslStream
.CipherStrength;
128
public HashAlgorithmType HashAlgorithm => _snapshotted ? _hashAlgorithm :
_sslStream
.HashAlgorithm;
131
public int HashStrength => _snapshotted ? _hashStrength :
_sslStream
.HashStrength;
134
public ExchangeAlgorithmType KeyExchangeAlgorithm => _snapshotted ? _keyExchangeAlgorithm :
_sslStream
.KeyExchangeAlgorithm;
137
public int KeyExchangeStrength => _snapshotted ? _keyExchangeStrength :
_sslStream
.KeyExchangeStrength;
150
||
_sslStream
.NegotiatedApplicationProtocol == SslApplicationProtocol.Http2)
163
await
_sslStream
.NegotiateClientCertificateAsync(cancellationToken);
208
using var binding =
_sslStream
.TransportContext?.GetChannelBinding(kind);