1 #ifndef __XRDSECPROTECT_H__
2 #define __XRDSECPROTECT_H__
45 #define NEED2SECURE(protP) protP && ((*protP).*(protP->Need2Secure))
138 authProt(aprot), secVec(0), lastSeqno(1),
139 edOK(edok), secVerData(false)
145 authProt(aprot), secVec(pRef.secVec),
146 lastSeqno(0), edOK(edok),
147 secVerData(pRef.secVerData) {}
152 bool GetSHA2(
unsigned char *hBuff,
struct iovec *iovP,
int iovN);
unsigned long long kXR_unt64
virtual const char * Verify(SecurityRequest &secreq, ClientRequest &thereq, const char *thedata)
XrdSecProtect(XrdSecProtocol *aprot, XrdSecProtect &pRef, bool edok=true)
virtual void Delete()
Delete this object. Use this method as opposed to operator delete.
bool(XrdSecProtect::* Need2Secure)(ClientRequest &thereq)
XrdSecProtect(XrdSecProtocol *aprot=0, bool edok=true)
void SetProtection(const ServerResponseReqs_Protocol &inReqs)
virtual ~XrdSecProtect()
Destructor.
virtual int Secure(SecurityRequest *&newreq, ClientRequest &thereq, const char *thedata)