DCMTK
Version 3.6.3
OFFIS DICOM Toolkit
|
a class implementing the hash function MD5 More...
Public Member Functions | |
SiMD5 () | |
default constructor | |
virtual | ~SiMD5 () |
destructor | |
virtual OFCondition | initialize () |
initializes the MAC algorithm. More... | |
virtual OFCondition | digest (const unsigned char *data, unsigned long length) |
feeds data into the MAC algorithm More... | |
virtual OFCondition | finalize (unsigned char *result) |
finalizes the MAC and writes it to the given output array, which must be at least getSize() bytes large. More... | |
virtual unsigned long | getSize () const |
returns the size of a MAC in bytes. More... | |
virtual E_MACType | macType () const |
returns the type of MAC algorithm computed by this object More... | |
virtual const char * | getDefinedTerm () const |
returns the DICOM identifier for this MAC algorithm More... | |
![]() | |
SiMAC () | |
default constructor | |
virtual | ~SiMAC () |
destructor | |
Private Member Functions | |
SiMD5 (SiMD5 &arg) | |
private undefined copy constructor | |
SiMD5 & | operator= (SiMD5 &arg) |
private undefined copy assignment operator | |
Private Attributes | |
MD5_CTX * | ctx |
OpenSSL MD5 context. | |
a class implementing the hash function MD5
|
virtual |
feeds data into the MAC algorithm
data | pointer to raw data to be fed into the MAC, must not be NULL |
length | number of bytes in raw data array |
Implements SiMAC.
|
virtual |
finalizes the MAC and writes it to the given output array, which must be at least getSize() bytes large.
After a call to finalize, the MAC algorithm must be initialized again, see initialize().
result | pointer to array of getSize() bytes into which the MAC is written |
Implements SiMAC.
|
virtual |
returns the DICOM identifier for this MAC algorithm
Implements SiMAC.
|
virtual |
|
virtual |
|
virtual |
returns the type of MAC algorithm computed by this object
Implements SiMAC.