![]() |
XRootD
|
Public Member Functions | |
XrdSecProtocolztn (const char *hname, XrdNetAddrInfo &endPoint, XrdSciTokensHelper *sthp) | |
XrdSecProtocolztn (const char *parms, XrdOucErrInfo *erp, bool &aOK) | |
~XrdSecProtocolztn () | |
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 *parms, XrdOucErrInfo *einfo=0) |
bool | needTLS () |
Check if this protocol requires TLS to properly function. More... | |
![]() | |
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 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) |
Static Public Attributes | |
static const int | ztnVersion = 0 |
Additional Inherited Members | |
![]() | |
XrdSecEntity | Entity |
![]() | |
virtual | ~XrdSecProtocol () |
Destructor (prevents use of direct delete). More... | |
Definition at line 182 of file XrdSecProtocolztn.cc.
XrdSecProtocolztn::XrdSecProtocolztn | ( | const char * | parms, |
XrdOucErrInfo * | erp, | ||
bool & | aOK | ||
) |
Definition at line 269 of file XrdSecProtocolztn.cc.
References Fatal().
|
inline |
Definition at line 204 of file XrdSecProtocolztn.cc.
References XrdSecEntity::addrInfo, XrdSecProtocol::Entity, XrdSecEntity::host, and XrdSecEntity::name.
|
inline |
Definition at line 214 of file XrdSecProtocolztn.cc.
References XrdSecEntity::creds, XrdSecProtocol::Entity, XrdSecEntity::host, and XrdSecEntity::name.
|
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 590 of file XrdSecProtocolztn.cc.
References XrdSecBuffer::buffer, XrdSecEntity::creds, XrdSecEntity::credslen, EAUTH, XrdSecProtocol::Entity, Fatal(), if(), XrdSecEntity::name, XrdSecBuffer::size, XrdSciTokensHelper::Validate(), and ztnVersion.
|
inlinevirtual |
Delete the protocol object. DO NOT use C++ delete() on this object.
Implements XrdSecProtocol.
Definition at line 190 of file XrdSecProtocolztn.cc.
|
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 376 of file XrdSecProtocolztn.cc.
References Fatal().
|
inlinevirtual |
Check if this protocol requires TLS to properly function.
Reimplemented from XrdSecProtocol.
Definition at line 195 of file XrdSecProtocolztn.cc.
|
static |
Definition at line 219 of file XrdSecProtocolztn.cc.
Referenced by Authenticate(), and XrdSecProtocolztnInit().