proxygen
folly::SSLHandshakeClientDoVerify Class Reference

#include <AsyncSSLSocketTest.h>

Inheritance diagram for folly::SSLHandshakeClientDoVerify:
folly::SSLHandshakeBase folly::AsyncSSLSocket::HandshakeCB folly::AsyncWriter::WriteCallback

Public Member Functions

 SSLHandshakeClientDoVerify (AsyncSSLSocket::UniquePtr socket, bool preverifyResult, bool verifyResult)
 
- Public Member Functions inherited from folly::SSLHandshakeBase
 SSLHandshakeBase (AsyncSSLSocket::UniquePtr socket, bool preverifyResult, bool verifyResult)
 
AsyncSSLSocket::UniquePtr moveSocket ()&&
 
- Public Member Functions inherited from folly::AsyncSSLSocket::HandshakeCB
virtual ~HandshakeCB ()=default
 

Additional Inherited Members

- Public Attributes inherited from folly::SSLHandshakeBase
bool handshakeVerify_
 
bool handshakeSuccess_
 
bool handshakeError_
 
std::chrono::nanoseconds handshakeTime
 
- Protected Member Functions inherited from folly::SSLHandshakeBase
bool handshakeVer (AsyncSSLSocket *, bool preverifyOk, X509_STORE_CTX *) noexceptoverride
 
void handshakeSuc (AsyncSSLSocket *) noexceptoverride
 
void handshakeErr (AsyncSSLSocket *, const AsyncSocketException &ex) noexceptoverride
 
void writeSuccess () noexceptoverride
 
void writeErr (size_t bytesWritten, const AsyncSocketException &ex) noexceptoverride
 
- Protected Attributes inherited from folly::SSLHandshakeBase
AsyncSSLSocket::UniquePtr socket_
 
bool preverifyResult_
 
bool verifyResult_
 

Detailed Description

Definition at line 1367 of file AsyncSSLSocketTest.h.

Constructor & Destructor Documentation

folly::SSLHandshakeClientDoVerify::SSLHandshakeClientDoVerify ( AsyncSSLSocket::UniquePtr  socket,
bool  preverifyResult,
bool  verifyResult 
)
inline

Definition at line 1369 of file AsyncSSLSocketTest.h.

References folly::SendMsgParamsCallbackBase::socket_.

1373  : SSLHandshakeBase(std::move(socket), preverifyResult, verifyResult) {
1374  socket_->sslConn(
1375  this,
1376  std::chrono::milliseconds::zero(),
1377  folly::SSLContext::SSLVerifyPeerEnum::VERIFY);
1378  }
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
SSLHandshakeBase(AsyncSSLSocket::UniquePtr socket, bool preverifyResult, bool verifyResult)
AsyncSSLSocket::UniquePtr socket_
NetworkSocket socket(int af, int type, int protocol)
Definition: NetOps.cpp:412

The documentation for this class was generated from the following file: