|
XRootD
|
#include <XrdSecProtocolhost.hh>
Inheritance diagram for XrdSecProtocolhost:
Collaboration diagram for XrdSecProtocolhost:Public Member Functions | |
| XrdSecProtocolhost (const char *host, XrdNetAddrInfo &endPoint) | |
| ~XrdSecProtocolhost () | |
| int | Authenticate (XrdSecCredentials *cred, XrdSecParameters **parms, XrdOucErrInfo *einfo=0) |
| void | Delete () |
| Delete the protocol object. DO NOT use C++ delete() on this object. More... | |
| XrdSecCredentials * | getCredentials (XrdSecParameters *parm=0, XrdOucErrInfo *einfo=0) |
| const char * | getParms (int &psize, const char *hname=0) |
Public Member Functions inherited from XrdSecProtocol | |
| XrdSecProtocol (const char *pName) | |
| Constructor. More... | |
| virtual int | Decrypt (const char *inbuff, int inlen, XrdSecBuffer **outbuff) |
| virtual int | Encrypt (const char *inbuff, int inlen, XrdSecBuffer **outbuff) |
| virtual int | getKey (char *buff=0, int size=0) |
| virtual bool | needTLS () |
| Check if this protocol requires TLS to properly function. More... | |
| virtual int | setKey (char *buff, int size) |
| virtual int | Sign (const char *inbuff, int inlen, XrdSecBuffer **outbuff) |
| virtual int | Verify (const char *inbuff, int inlen, const char *sigbuff, int siglen) |
Additional Inherited Members | |
Public Attributes inherited from XrdSecProtocol | |
| XrdSecEntity | Entity |
Protected Member Functions inherited from XrdSecProtocol | |
| virtual | ~XrdSecProtocol () |
| Destructor (prevents use of direct delete). More... | |
Definition at line 39 of file XrdSecProtocolhost.hh.
|
inline |
Definition at line 56 of file XrdSecProtocolhost.hh.
|
inline |
Definition at line 61 of file XrdSecProtocolhost.hh.
|
virtual |
Authenticate a client.
| cred | Credentials supplied by the client. |
| parms | Place where the address of additional authentication data is to be placed for another autrhentication handshake. |
| einfo | The error information object where error messages should be placed. The messages are returned to the client. Should einfo be null, messages should be written to stderr. |
Implements XrdSecProtocol.
Definition at line 40 of file XrdSecProtocolhost.cc.
References XrdSecEntity::addrInfo, XrdSecProtocol::Entity, XrdSecEntity::host, and XrdSecEntity::prot.
|
inlinevirtual |
Delete the protocol object. DO NOT use C++ delete() on this object.
Implements XrdSecProtocol.
Definition at line 54 of file XrdSecProtocolhost.hh.
|
virtual |
Generate client credentials to be used in the authentication process.
| parm | Pointer to the information returned by the server either in the initial login response or the authmore response. |
| einfo | The error information object where error messages should be placed. The messages are returned to the client. Should einfo be null, messages should be written to stderr. |
Implements XrdSecProtocol.
Definition at line 54 of file XrdSecProtocolhost.cc.
References XrdSecBuffer::buffer, and XrdSecBuffer::size.
|
inline |
Definition at line 50 of file XrdSecProtocolhost.hh.