XRootD
XrdXrootdSessID Struct Reference
+ Collaboration diagram for XrdXrootdSessID:

Public Member Functions

 XrdXrootdSessID ()
 
 ~XrdXrootdSessID ()
 
void Mask ()
 
void UnMask ()
 

Public Attributes

int FD
 
unsigned int Inst
 
int Pid
 
unsigned int Sid
 

Detailed Description

Definition at line 101 of file XrdXrootdXeq.cc.

Constructor & Destructor Documentation

◆ XrdXrootdSessID()

XrdXrootdSessID::XrdXrootdSessID ( )
inline

Definition at line 123 of file XrdXrootdXeq.cc.

123 {}

◆ ~XrdXrootdSessID()

XrdXrootdSessID::~XrdXrootdSessID ( )
inline

Definition at line 124 of file XrdXrootdXeq.cc.

124 {}

Member Function Documentation

◆ Mask()

void XrdXrootdSessID::Mask ( )
inline

Definition at line 107 of file XrdXrootdXeq.cc.

107  {if (bfEcb1 && bfEcb2)
108  {unsigned char buff[sizeof(int)*4];
109  bfEcb1->Encrypt((unsigned char*)&Sid, buff);
110  bfEcb2->Encrypt((unsigned char*)&FD, buff+8);
111  memcpy((void*)&Sid, (const void*)buff, sizeof(int)*4);
112  }
113  }
void Encrypt(const unsigned char *in8, unsigned char *out8)
unsigned int Sid

References XrdCryptoLite_BFecb::Encrypt(), FD, and Sid.

+ Here is the call graph for this function:

◆ UnMask()

void XrdXrootdSessID::UnMask ( )
inline

Definition at line 115 of file XrdXrootdXeq.cc.

115  {if (bfEcb1 && bfEcb2)
116  {unsigned char buff[sizeof(int)*4];
117  bfEcb1->Decrypt((unsigned char*)&Sid, buff);
118  bfEcb2->Decrypt((unsigned char*)&FD, buff+8);
119  memcpy((void*)&Sid, (const void*)buff, sizeof(int)*4);
120  }
121  }
void Decrypt(const unsigned char *in8, unsigned char *out8)

References XrdCryptoLite_BFecb::Decrypt(), FD, and Sid.

+ Here is the call graph for this function:

Member Data Documentation

◆ FD

int XrdXrootdSessID::FD

Definition at line 104 of file XrdXrootdXeq.cc.

Referenced by Mask(), and UnMask().

◆ Inst

unsigned int XrdXrootdSessID::Inst

Definition at line 105 of file XrdXrootdXeq.cc.

◆ Pid

int XrdXrootdSessID::Pid

Definition at line 103 of file XrdXrootdXeq.cc.

◆ Sid

unsigned int XrdXrootdSessID::Sid

Definition at line 102 of file XrdXrootdXeq.cc.

Referenced by Mask(), and UnMask().


The documentation for this struct was generated from the following file: