17 references to ClientHelloParseState
Microsoft.AspNetCore.Server.Kestrel.Core (17)
Middleware\TlsListener.cs (17)
28
ClientHelloParseState
parseState =
ClientHelloParseState
.NotEnoughData;
46
if (parseState ==
ClientHelloParseState
.NotEnoughData)
58
if (parseState ==
ClientHelloParseState
.ValidTlsClientHello)
63
Debug.Assert(parseState is
ClientHelloParseState
.ValidTlsClientHello or
ClientHelloParseState
.NotTlsClientHello);
68
if (parseState is
ClientHelloParseState
.NotEnoughData)
88
private static
ClientHelloParseState
TryParseClientHello(ReadOnlySequence<byte> buffer, ref short recordLength, out ReadOnlySequence<byte> clientHelloBytes)
97
return
ClientHelloParseState
.NotEnoughData;
104
return
ClientHelloParseState
.ValidTlsClientHello;
109
return
ClientHelloParseState
.NotEnoughData;
117
return
ClientHelloParseState
.NotTlsClientHello;
123
return
ClientHelloParseState
.NotTlsClientHello;
129
return
ClientHelloParseState
.NotTlsClientHello;
140
return
ClientHelloParseState
.NotTlsClientHello;
149
return
ClientHelloParseState
.NotEnoughData;
153
return
ClientHelloParseState
.ValidTlsClientHello;