DCMTK Version 3.6.7
OFFIS DICOM Toolkit
|
a base class for all classes that implement hash functions. More...
Public Member Functions | |
SiMAC () | |
default constructor | |
virtual | ~SiMAC () |
destructor | |
virtual OFCondition | initialize ()=0 |
initializes the MAC algorithm. More... | |
virtual OFCondition | digest (const unsigned char *data, unsigned long length)=0 |
feeds data into the MAC algorithm More... | |
virtual OFCondition | finalize (unsigned char *result)=0 |
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 =0 |
returns the size of a MAC in bytes. More... | |
virtual E_MACType | macType () const =0 |
returns the type of MAC algorithm computed by this object More... | |
virtual const char * | getDefinedTerm () const =0 |
returns the DICOM identifier for this MAC algorithm More... | |
a base class for all classes that implement hash functions.
|
pure 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 |
Implemented in SiMDMAC.
|
pure 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 |
Implemented in SiMDMAC.
|
pure virtual |
returns the DICOM identifier for this MAC algorithm
Implemented in SiMDMAC.
|
pure virtual |
returns the size of a MAC in bytes.
Implemented in SiMDMAC.
|
pure virtual |
|
pure virtual |
returns the type of MAC algorithm computed by this object
Implemented in SiMDMAC.