#include <XrdCksCalcmd5.hh>
Classes | |
| union | MD5Context.__unnamed0__ |
| union | MD5Context.__unnamed1__ |
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) |
| Public Member Functions inherited from XrdCksCalc | |
| XrdCksCalc () | |
| Constructor. | |
| virtual | ~XrdCksCalc () |
| Destructor. | |
| virtual char * | Calc (const char *Buff, int BLen) |
| virtual bool | Combinable () |
| virtual const char * | Combine (const char *Cksum, int DLen) |
| virtual const char * | Combine (const char *Cksum1, const char *Cksum2, int DLen) |
| virtual void | Recycle () |
| Recycle the checksum object as it is no longer needed. A default is given. | |
Definition at line 37 of file XrdCksCalcmd5.hh.
| union XrdCksCalcmd5::MD5Context.__unnamed0__ |
Definition at line 66 of file XrdCksCalcmd5.hh.
| Class Members | ||
|---|---|---|
| long long | b64 | |
| unsigned int | bits[2] | |
| union XrdCksCalcmd5::MD5Context.__unnamed1__ |
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 XrdCksCalc::XrdCksCalc(), and 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.
Referenced by XrdCksManager::Init().
|
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.