2 writes to Type
System.Net.Security (2)
System\Net\Security\TlsFrameHelper.cs (2)
177
header.
Type
= (TlsContentType)frame[0];
209
header.
Type
= TlsContentType.Handshake;
13 references to Type
System.Net.Security (13)
System\Net\Security\SslStream.IO.cs (8)
371
else if (token.Failed && (_lastFrame.Header.
Type
== TlsContentType.Handshake || _lastFrame.Header.
Type
== TlsContentType.ChangeCipherSpec))
393
if (_lastFrame.Header.
Type
== TlsContentType.Alert && _lastFrame.AlertDescription != TlsAlertDescription.CloseNotify &&
459
switch (_lastFrame.Header.
Type
)
539
bool isClientHello = _lastFrame.Header.
Type
== TlsContentType.Handshake &&
577
if ((nextHeader.
Type
!= TlsContentType.Handshake && nextHeader.
Type
!= TlsContentType.ChangeCipherSpec) && !_isRenego || frameSize > availableData.Length - chunkSize)
1017
if (_lastFrame.Header.
Type
!= TlsContentType.AppData)
System\Net\Security\TlsFrameHelper.cs (5)
91
public override string ToString() => $"{Version}:{
Type
}[{Length}]";
128
if (Header.
Type
== TlsContentType.Handshake)
145
return $"{Header.Version}:{Header.
Type
}[{Header.Length}]";
243
if (info.Header.
Type
== TlsContentType.Alert)
256
if (info.Header.
Type
!= TlsContentType.Handshake || frame.Length <= HandshakeTypeOffset)