19 references to TlsFrameHelper
System.Net.Security (19)
System\Net\Security\NetEventSource.Security.cs (5)
245
TlsFrameHelper
.TlsFrameInfo info = default;
246
bool isComplete =
TlsFrameHelper
.TryGetFrameInfo(frame, ref info);
255
public void ReceivedFrame(SslStream sslStream,
TlsFrameHelper
.TlsFrameInfo frameInfo) =>
261
TlsFrameHelper
.TlsFrameInfo info = default;
262
bool isComplete =
TlsFrameHelper
.TryGetFrameInfo(frame, ref info);
System\Net\Security\SslStream.IO.cs (14)
22
private
TlsFrameHelper
.TlsFrameInfo _lastFrame;
344
payload =
TlsFrameHelper
.CreateAlertFrame(_lastFrame.Header.Version, TlsAlertDescription.ProtocolVersion);
424
if (
TlsFrameHelper
.TryGetFrameInfo(_buffer.EncryptedReadOnlySpan, ref _lastFrame))
435
TlsFrameHelper
.ProcessingOptions options = NetEventSource.Log.IsEnabled() ?
436
TlsFrameHelper
.ProcessingOptions.All :
437
TlsFrameHelper
.ProcessingOptions.ServerName;
442
options |=
TlsFrameHelper
.ProcessingOptions.RawApplicationProtocol;
446
if (!
TlsFrameHelper
.TryGetFrameInfo(_buffer.EncryptedReadOnlySpan, ref _lastFrame, options))
495
while (_buffer.EncryptedLength - chunkSize >
TlsFrameHelper
.HeaderSize)
499
if (!
TlsFrameHelper
.TryGetFrameHeader(availableData.Slice(chunkSize), ref nextHeader))
768
if (frameSize == int.MaxValue && _buffer.EncryptedLength >
TlsFrameHelper
.HeaderSize)
932
TlsFrameHelper
.TryGetFrameHeader(_buffer.EncryptedReadOnlySpan, ref _lastFrame.Header);
1014
if (buffer.Length <
TlsFrameHelper
.HeaderSize)
1019
if (!
TlsFrameHelper
.TryGetFrameHeader(buffer, ref _lastFrame.Header))