19 #ifndef __XRD_CL_TLS_HH__
20 #define __XRD_CL_TLS_HH__
108 enum TlsHSRevert{
None, ReadOnWrite, WriteOnRead };
123 std::unique_ptr<XrdTlsSocket> pTls;
133 TlsHSRevert pTlsHSRevert;
138 AsyncSocketHandler *pSocketHandler;
TLS layer for socket connection.
Tls(Socket *socket, AsyncSocketHandler *socketHandler)
Constructor - creates async TLS layer for given socker file descriptor.
XRootDStatus ReadV(iovec *iov, int iocnt, int &bytesRead)
XRootDStatus Read(char *buffer, size_t size, int &bytesRead)
uint8_t MapEvent(uint8_t event)
static void ClearErrorQueue()
Clear the error queue for the calling thread.
XRootDStatus Send(const char *buffer, size_t size, int &bytesWritten)
void Shutdown()
Shutdown the TLS/SSL connection.
XRootDStatus Connect(const std::string &thehost, XrdNetAddrInfo *netInfo)
Establish a TLS/SSL session and perform host verification.
none object for initializing empty Optional