18 case StateEnum::Uninitialized:
19 return "Uninitialized";
20 case StateEnum::ExpectingServerHello:
21 return "ExpectingServerHello";
22 case StateEnum::ExpectingEncryptedExtensions:
23 return "ExpectingEncryptedExtensions";
24 case StateEnum::ExpectingCertificate:
25 return "ExpectingCertificate";
26 case StateEnum::ExpectingCertificateVerify:
27 return "ExpectingCertificateVerify";
28 case StateEnum::ExpectingFinished:
29 return "ExpectingFinished";
30 case StateEnum::Established:
34 case StateEnum::NUM_STATES:
35 return "Invalid state NUM_STATES";
37 return "Invalid state";
42 case ClientAuthType::NotRequested:
43 return "NotRequested";
44 case ClientAuthType::Sent:
46 case ClientAuthType::RequestedNoMatch:
47 return "RequestedNoMatch";
48 case ClientAuthType::Stored:
51 return "Invalid client auth type";
folly::StringPiece toString(StateEnum state)