1 write to _sslStream
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\TlsConnectionFeature.cs (1)
41
_sslStream
= sslStream;
24 references to _sslStream
Microsoft.AspNetCore.Server.Kestrel.Core (24)
Internal\TlsConnectionFeature.cs (24)
57
if (
_sslStream
is null)
64
_protocol =
_sslStream
.SslProtocol;
65
_negotiatedCipherSuite =
_sslStream
.NegotiatedCipherSuite;
66
_applicationProtocol =
_sslStream
.NegotiatedApplicationProtocol.Protocol.ToArray();
69
_cipherAlgorithm =
_sslStream
.CipherAlgorithm;
70
_cipherStrength =
_sslStream
.CipherStrength;
71
_hashAlgorithm =
_sslStream
.HashAlgorithm;
72
_hashStrength =
_sslStream
.HashStrength;
73
_keyExchangeAlgorithm =
_sslStream
.KeyExchangeAlgorithm;
74
_keyExchangeStrength =
_sslStream
.KeyExchangeStrength;
77
_clientCert ??= ConvertToX509Certificate2(
_sslStream
.RemoteCertificate);
92
return _clientCert ??= ConvertToX509Certificate2(
_sslStream
.RemoteCertificate);
103
public ReadOnlyMemory<byte> ApplicationProtocol => _snapshotted ? _applicationProtocol :
_sslStream
.NegotiatedApplicationProtocol.Protocol;
105
public SslProtocols Protocol => _snapshotted ? _protocol :
_sslStream
.SslProtocol;
107
public SslStream SslStream =>
_sslStream
;
113
public TlsCipherSuite? NegotiatedCipherSuite => _snapshotted ? _negotiatedCipherSuite :
_sslStream
.NegotiatedCipherSuite;
116
public CipherAlgorithmType CipherAlgorithm => _snapshotted ? _cipherAlgorithm :
_sslStream
.CipherAlgorithm;
119
public int CipherStrength => _snapshotted ? _cipherStrength :
_sslStream
.CipherStrength;
122
public HashAlgorithmType HashAlgorithm => _snapshotted ? _hashAlgorithm :
_sslStream
.HashAlgorithm;
125
public int HashStrength => _snapshotted ? _hashStrength :
_sslStream
.HashStrength;
128
public ExchangeAlgorithmType KeyExchangeAlgorithm => _snapshotted ? _keyExchangeAlgorithm :
_sslStream
.KeyExchangeAlgorithm;
131
public int KeyExchangeStrength => _snapshotted ? _keyExchangeStrength :
_sslStream
.KeyExchangeStrength;
144
||
_sslStream
.NegotiatedApplicationProtocol == SslApplicationProtocol.Http2)
157
await
_sslStream
.NegotiateClientCertificateAsync(cancellationToken);