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)
57if (_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); 92return _clientCert ??= ConvertToX509Certificate2(_sslStream.RemoteCertificate); 103public ReadOnlyMemory<byte> ApplicationProtocol => _snapshotted ? _applicationProtocol : _sslStream.NegotiatedApplicationProtocol.Protocol; 105public SslProtocols Protocol => _snapshotted ? _protocol : _sslStream.SslProtocol; 107public SslStream SslStream => _sslStream; 113public TlsCipherSuite? NegotiatedCipherSuite => _snapshotted ? _negotiatedCipherSuite : _sslStream.NegotiatedCipherSuite; 116public CipherAlgorithmType CipherAlgorithm => _snapshotted ? _cipherAlgorithm : _sslStream.CipherAlgorithm; 119public int CipherStrength => _snapshotted ? _cipherStrength : _sslStream.CipherStrength; 122public HashAlgorithmType HashAlgorithm => _snapshotted ? _hashAlgorithm : _sslStream.HashAlgorithm; 125public int HashStrength => _snapshotted ? _hashStrength : _sslStream.HashStrength; 128public ExchangeAlgorithmType KeyExchangeAlgorithm => _snapshotted ? _keyExchangeAlgorithm : _sslStream.KeyExchangeAlgorithm; 131public int KeyExchangeStrength => _snapshotted ? _keyExchangeStrength : _sslStream.KeyExchangeStrength; 144|| _sslStream.NegotiatedApplicationProtocol == SslApplicationProtocol.Http2) 157await _sslStream.NegotiateClientCertificateAsync(cancellationToken);