19 #ifndef __XRD_CL_TLS_HH__
20 #define __XRD_CL_TLS_HH__
109 std::unique_ptr<XrdTlsSocket>
pTls;
Definition: XrdClAsyncSocketHandler.hh:39
A network socket.
Definition: XrdClSocket.hh:42
TLS layer for socket connection.
Definition: XrdClTls.hh:37
Socket * pSocket
The underlying vanilla socket.
Definition: XrdClTls.hh:104
Tls(Socket *socket, AsyncSocketHandler *socketHandler)
Constructor - creates async TLS layer for given socker file descriptor.
TlsHSRevert pTlsHSRevert
Definition: XrdClTls.hh:119
XRootDStatus ToStatus(XrdTls::RC rc)
Translate OPEN SSL error code into XRootD Status.
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:109
TlsHSRevert
Definition: XrdClTls.hh:94
@ ReadOnWrite
Definition: XrdClTls.hh:94
@ None
Definition: XrdClTls.hh:94
@ WriteOnRead
Definition: XrdClTls.hh:94
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:124
XRootDStatus Connect(const std::string &thehost, XrdNetAddrInfo *netInfo)
Establish a TLS/SSL session and perform host verification.
Request status.
Definition: XrdClXRootDResponses.hh:215
Definition: XrdNetAddrInfo.hh:54
RC
Definition: XrdTls.hh:40
Definition: XrdClAnyObject.hh:26