17 references to TlsHandshakeType
System.Net.Security (17)
System\Net\Security\SslStream.IO.cs (2)
431
if (!_isRenego && _buffer.EncryptedReadOnlySpan[_lastFrame.Header.Version == SslProtocols.Ssl2 ? HandshakeTypeOffsetSsl2 : HandshakeTypeOffsetTls] == (byte)
TlsHandshakeType
.ClientHello &&
451
if (_lastFrame.HandshakeType ==
TlsHandshakeType
.ClientHello)
System\Net\Security\TlsFrameHelper.cs (15)
121
public
TlsHandshakeType
HandshakeType;
132
if (HandshakeType ==
TlsHandshakeType
.ClientHello)
136
else if (HandshakeType ==
TlsHandshakeType
.ServerHello)
187
else if (frame[2] == (byte)
TlsHandshakeType
.ClientHello &&
259
info.HandshakeType = (
TlsHandshakeType
)frame[HandshakeTypeOffset];
267
info.HandshakeType =
TlsHandshakeType
.ClientHello;
279
(info.HandshakeType ==
TlsHandshakeType
.ClientHello || info.HandshakeType ==
TlsHandshakeType
.ServerHello))
379
const int HelloLengthOffset = HandshakeTypeOffset + sizeof(
TlsHandshakeType
);
383
((
TlsHandshakeType
)sslHandshake[HandshakeTypeOffset] !=
TlsHandshakeType
.ClientHello &&
384
(
TlsHandshakeType
)sslHandshake[HandshakeTypeOffset] !=
TlsHandshakeType
.ServerHello))
403
return (
TlsHandshakeType
)sslHandshake[HandshakeTypeOffset] ==
TlsHandshakeType
.ClientHello ?