#include <XrdCksCalcmd5.hh>
|
void | byteReverse (unsigned char *buf, unsigned longs) |
|
void | MD5Update (unsigned char const *buf, unsigned int len) |
|
void | MD5Transform (unsigned int buf[4], unsigned int const in[16]) |
|
◆ XrdCksCalcmd5()
XrdCksCalcmd5::XrdCksCalcmd5 |
( |
| ) |
|
|
inline |
◆ ~XrdCksCalcmd5()
XrdCksCalcmd5::~XrdCksCalcmd5 |
( |
| ) |
|
|
inline |
◆ byteReverse()
void XrdCksCalcmd5::byteReverse |
( |
unsigned char * |
buf, |
|
|
unsigned |
longs |
|
) |
| |
|
private |
◆ Current()
char * XrdCksCalcmd5::Current |
( |
| ) |
|
|
inlinevirtual |
Get the current binary checksum value (defaults to final). However, the final checksum result is not affected.
- Returns
- the checksum value in binary format. The pointer to the value becomes invalid once the associated object is deleted.
Reimplemented from XrdCksCalc.
References Final(), and myContext.
◆ Final()
char * XrdCksCalcmd5::Final |
( |
| ) |
|
|
virtual |
Get the actual checksum in binary format.
- Returns
- the checksum value in binary format. The pointer to the value becomes invalid once the associated object is deleted.
Implements XrdCksCalc.
Referenced by Current().
◆ Init()
void XrdCksCalcmd5::Init |
( |
| ) |
|
|
virtual |
Initializes data structures (must be called by constructor). This is always called to reuse the object for a new checksum.
Implements XrdCksCalc.
Referenced by XrdCksCalcmd5().
◆ MD5Transform()
void XrdCksCalcmd5::MD5Transform |
( |
unsigned int |
buf[4], |
|
|
unsigned int const |
in[16] |
|
) |
| |
|
private |
◆ MD5Update()
void XrdCksCalcmd5::MD5Update |
( |
unsigned char const * |
buf, |
|
|
unsigned int |
len |
|
) |
| |
|
private |
◆ New()
Get a new instance of the underlying checksum calculation object.
- Returns
- the checksum calculation object.
Implements XrdCksCalc.
References XrdCksCalcmd5().
◆ Type()
const char * XrdCksCalcmd5::Type |
( |
int & |
csSize | ) |
|
|
inlinevirtual |
Get the checksum object algorithm name and the number bytes (i.e. size) required for the checksum value.
- Parameters
-
csSize | -> Parameter to hold the size of the checksum value. |
- Returns
- the checksum algorithm's name. The name persists event after the checksum object is deleted.
Implements XrdCksCalc.
References myDigest.
◆ Update()
void XrdCksCalcmd5::Update |
( |
const char * |
Buff, |
|
|
int |
BLen |
|
) |
| |
|
inlinevirtual |
Compute a running checksum. This method may be called repeatedly for data segments; with Final() returning the full checksum.
- Parameters
-
Buff | -> Data to be checksummed. |
BLen | -> Length of the data in Buff. |
Implements XrdCksCalc.
References MD5Update().
◆ myContext
◆ myDigest
unsigned char XrdCksCalcmd5::myDigest[16] |
|
private |
The documentation for this class was generated from the following file: