2 writes to Type
System.Net.Security (2)
System\Net\Security\TlsFrameHelper.cs (2)
179
header.
Type
= (TlsContentType)frame[0];
211
header.
Type
= TlsContentType.Handshake;
12 references to Type
System.Net.Security (12)
System\Net\Security\SslStream.IO.cs (7)
341
else if (token.Failed && (_lastFrame.Header.
Type
== TlsContentType.Handshake || _lastFrame.Header.
Type
== TlsContentType.ChangeCipherSpec))
363
if (_lastFrame.Header.
Type
== TlsContentType.Alert && _lastFrame.AlertDescription != TlsAlertDescription.CloseNotify &&
421
switch (_lastFrame.Header.
Type
)
508
if ((nextHeader.
Type
!= TlsContentType.Handshake && nextHeader.
Type
!= TlsContentType.ChangeCipherSpec) && !_isRenego || frameSize > availableData.Length - chunkSize)
933
if (_lastFrame.Header.
Type
!= TlsContentType.AppData)
System\Net\Security\TlsFrameHelper.cs (5)
92
public override string ToString() => $"{Version}:{
Type
}[{Length}]";
130
if (Header.
Type
== TlsContentType.Handshake)
147
return $"{Header.Version}:{Header.
Type
}[{Header.Length}]";
241
if (info.Header.
Type
== TlsContentType.Alert)
254
if (info.Header.
Type
!= TlsContentType.Handshake || frame.Length <= HandshakeTypeOffset)