19 #ifndef __XRD_CL_TLS_HH__
20 #define __XRD_CL_TLS_HH__
123 std::unique_ptr<XrdTlsSocket>
pTls;
142 #endif // __XRD_CL_TLS_HH__
Definition: XrdClTls.hh:108
AsyncSocketHandler * pSocketHandler
Socket handler (for enabling/disabling write notification)
Definition: XrdClTls.hh:138
TlsHSRevert
Definition: XrdClTls.hh:108
TlsHSRevert pTlsHSRevert
Definition: XrdClTls.hh:133
XRootDStatus Connect(const std::string &thehost, XrdNetAddrInfo *netInfo)
Establish a TLS/SSL session and perform host verification.
~Tls()
Destructor.
Definition: XrdClTls.hh:51
Definition: XrdOucIOVec.hh:65
TLS layer for socket connection.
Definition: XrdClTls.hh:39
Tls(Socket *socket, AsyncSocketHandler *socketHandler)
Constructor - creates async TLS layer for given socker file descriptor.
RC
Definition: XrdTls.hh:40
Definition: XrdClTls.hh:108
Request status.
Definition: XrdClXRootDResponses.hh:218
static void ClearErrorQueue()
Clear the error queue for the calling thread.
XRootDStatus Send(const char *buffer, size_t size, int &bytesWritten)
XRootDStatus ReadV(iovec *iov, int iocnt, int &bytesRead)
XRootDStatus ToStatus(XrdTls::RC rc)
Translate OPEN SSL error code into XRootD Status.
Definition: XrdNetAddrInfo.hh:53
Socket * pSocket
The underlying vanilla socket.
Definition: XrdClTls.hh:118
Definition: XrdClTls.hh:108
void Shutdown()
Shutdown the TLS/SSL connection.
std::unique_ptr< XrdTlsSocket > pTls
The TSL I/O wrapper over socket.
Definition: XrdClTls.hh:123
XRootDStatus Read(char *buffer, size_t size, int &bytesRead)
A network socket.
Definition: XrdClSocket.hh:42
Definition: XrdClAsyncSocketHandler.hh:43
uint8_t MapEvent(uint8_t event)