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