15 references to ClientHelloParseState
Microsoft.AspNetCore.Server.Kestrel.Core (15)
Middleware\TlsListenerMiddleware.cs (15)
27
ClientHelloParseState
parseState =
ClientHelloParseState
.NotEnoughData;
44
if (parseState ==
ClientHelloParseState
.NotEnoughData)
56
if (parseState ==
ClientHelloParseState
.ValidTlsClientHello)
61
Debug.Assert(parseState is
ClientHelloParseState
.ValidTlsClientHello or
ClientHelloParseState
.NotTlsClientHello);
66
if (parseState is
ClientHelloParseState
.NotEnoughData)
88
private static
ClientHelloParseState
TryParseClientHello(ReadOnlySequence<byte> buffer, out ReadOnlySequence<byte> clientHelloBytes)
94
return
ClientHelloParseState
.NotEnoughData;
102
return
ClientHelloParseState
.NotTlsClientHello;
108
return
ClientHelloParseState
.NotTlsClientHello;
114
return
ClientHelloParseState
.NotTlsClientHello;
120
return
ClientHelloParseState
.NotTlsClientHello;
129
return
ClientHelloParseState
.NotEnoughData;
133
return
ClientHelloParseState
.ValidTlsClientHello;