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)
63if (_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); 98return _clientCert ??= ConvertToX509Certificate2(_sslStream.RemoteCertificate); 109public ReadOnlyMemory<byte> ApplicationProtocol => _snapshotted ? _applicationProtocol : _sslStream.NegotiatedApplicationProtocol.Protocol; 111public SslProtocols Protocol => _snapshotted ? _protocol : _sslStream.SslProtocol; 113public SslStream SslStream => _sslStream; 119public TlsCipherSuite? NegotiatedCipherSuite => _snapshotted ? _negotiatedCipherSuite : _sslStream.NegotiatedCipherSuite; 122public CipherAlgorithmType CipherAlgorithm => _snapshotted ? _cipherAlgorithm : _sslStream.CipherAlgorithm; 125public int CipherStrength => _snapshotted ? _cipherStrength : _sslStream.CipherStrength; 128public HashAlgorithmType HashAlgorithm => _snapshotted ? _hashAlgorithm : _sslStream.HashAlgorithm; 131public int HashStrength => _snapshotted ? _hashStrength : _sslStream.HashStrength; 134public ExchangeAlgorithmType KeyExchangeAlgorithm => _snapshotted ? _keyExchangeAlgorithm : _sslStream.KeyExchangeAlgorithm; 137public int KeyExchangeStrength => _snapshotted ? _keyExchangeStrength : _sslStream.KeyExchangeStrength; 150|| _sslStream.NegotiatedApplicationProtocol == SslApplicationProtocol.Http2) 163await _sslStream.NegotiateClientCertificateAsync(cancellationToken); 208using var binding = _sslStream.TransportContext?.GetChannelBinding(kind);