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