19 #ifndef __XRD_CL_TLS_HH__ 20 #define __XRD_CL_TLS_HH__ 114 std::unique_ptr<XrdTlsSocket>
pTls;
133 #endif // __XRD_CL_TLS_HH__ Definition: XrdClTls.hh:99
AsyncSocketHandler * pSocketHandler
Socket handler (for enabling/disabling write notification)
Definition: XrdClTls.hh:129
TlsHSRevert
Definition: XrdClTls.hh:99
TlsHSRevert pTlsHSRevert
Definition: XrdClTls.hh:124
XRootDStatus Connect(const std::string &thehost, XrdNetAddrInfo *netInfo)
Establish a TLS/SSL session and perform host verification.
~Tls()
Destructor.
Definition: XrdClTls.hh:48
TLS layer for socket connection.
Definition: XrdClTls.hh:36
Tls(Socket *socket, AsyncSocketHandler *socketHandler)
Constructor - creates async TLS layer for given socker file descriptor.
RC
Definition: XrdTls.hh:40
Definition: XrdClTls.hh:99
Request status.
Definition: XrdClXRootDResponses.hh:218
Definition: XrdClAnyObject.hh:25
static void ClearErrorQueue()
Clear the error queue for the calling thread.
XRootDStatus Send(const char *buffer, size_t size, int &bytesWritten)
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:109
Definition: XrdClTls.hh:99
void Shutdown()
Shutdown the TLS/SSL connection.
std::unique_ptr< XrdTlsSocket > pTls
The TSL I/O wrapper over socket.
Definition: XrdClTls.hh:114
XRootDStatus Read(char *buffer, size_t size, int &bytesRead)
A network socket.
Definition: XrdClSocket.hh:41
Definition: XrdClAsyncSocketHandler.hh:39
uint8_t MapEvent(uint8_t event)