17 references to ClientHelloParseState
Microsoft.AspNetCore.Server.Kestrel.Core (17)
Middleware\TlsListener.cs (17)
25
ClientHelloParseState
parseState =
ClientHelloParseState
.NotEnoughData;
43
if (parseState ==
ClientHelloParseState
.NotEnoughData)
55
if (parseState ==
ClientHelloParseState
.ValidTlsClientHello)
60
Debug.Assert(parseState is
ClientHelloParseState
.ValidTlsClientHello or
ClientHelloParseState
.NotTlsClientHello);
65
if (parseState is
ClientHelloParseState
.NotEnoughData)
85
private static
ClientHelloParseState
TryParseClientHello(ReadOnlySequence<byte> buffer, ref short recordLength, out ReadOnlySequence<byte> clientHelloBytes)
94
return
ClientHelloParseState
.NotEnoughData;
101
return
ClientHelloParseState
.ValidTlsClientHello;
106
return
ClientHelloParseState
.NotEnoughData;
114
return
ClientHelloParseState
.NotTlsClientHello;
120
return
ClientHelloParseState
.NotTlsClientHello;
126
return
ClientHelloParseState
.NotTlsClientHello;
132
return
ClientHelloParseState
.NotTlsClientHello;
141
return
ClientHelloParseState
.NotEnoughData;
145
return
ClientHelloParseState
.ValidTlsClientHello;