![]() |
XRootD
|
#include <XrdCksCalcmd5.hh>
Classes | |
union | MD5Context.__unnamed25__ |
union | MD5Context.__unnamed27__ |
Public Member Functions | |
XrdCksCalcmd5 () | |
~XrdCksCalcmd5 () | |
char * | Current () |
char * | Final () |
void | Init () |
XrdCksCalc * | New () |
const char * | Type (int &csSz) |
void | Update (const char *Buff, int BLen) |
![]() | |
XrdCksCalc () | |
Constructor. More... | |
virtual | ~XrdCksCalc () |
Destructor. More... | |
virtual char * | Calc (const char *Buff, int BLen) |
virtual void | Recycle () |
Recycle the checksum object as it is no longer needed. A default is given. More... | |
Definition at line 37 of file XrdCksCalcmd5.hh.
union XrdCksCalcmd5::MD5Context.__unnamed25__ |
Definition at line 66 of file XrdCksCalcmd5.hh.
Class Members | ||
---|---|---|
long long | b64 | |
unsigned int | bits[2] |
union XrdCksCalcmd5::MD5Context.__unnamed27__ |
Definition at line 69 of file XrdCksCalcmd5.hh.
Class Members | ||
---|---|---|
long long | i64[8] | |
unsigned char | in[64] |
|
inline |
Definition at line 59 of file XrdCksCalcmd5.hh.
References Init().
Referenced by New().
|
inline |
Definition at line 60 of file XrdCksCalcmd5.hh.
|
inlinevirtual |
Get the current binary checksum value (defaults to final). However, the final checksum result is not affected.
Reimplemented from XrdCksCalc.
Definition at line 41 of file XrdCksCalcmd5.hh.
References Final().
|
virtual |
Get the actual checksum in binary format.
Implements XrdCksCalc.
Definition at line 153 of file XrdCksCalcmd5.cc.
Referenced by Current().
|
virtual |
Initializes data structures (must be called by constructor). This is always called to reuse the object for a new checksum.
Implements XrdCksCalc.
Definition at line 84 of file XrdCksCalcmd5.cc.
Referenced by XrdCksCalcmd5().
|
inlinevirtual |
Get a new instance of the underlying checksum calculation object.
Implements XrdCksCalc.
Definition at line 50 of file XrdCksCalcmd5.hh.
References XrdCksCalcmd5().
|
inlinevirtual |
Get the checksum object algorithm name and the number bytes (i.e. size) required for the checksum value.
csSize | -> Parameter to hold the size of the checksum value. |
Implements XrdCksCalc.
Definition at line 57 of file XrdCksCalcmd5.hh.
|
inlinevirtual |
Compute a running checksum. This method may be called repeatedly for data segments; with Final() returning the full checksum.
Buff | -> Data to be checksummed. |
BLen | -> Length of the data in Buff. |
Implements XrdCksCalc.
Definition at line 54 of file XrdCksCalcmd5.hh.