Inheritance diagram for SiMAC:

Public Member Functions | |
| SiMAC () | |
| default constructor | |
| virtual | ~SiMAC () |
| destructor | |
| virtual OFCondition | initialize ()=0 |
| initializes the MAC algorithm. | |
| virtual OFCondition | digest (const unsigned char *data, unsigned long length)=0 |
| feeds data into the MAC algorithm | |
| 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. | |
| virtual unsigned long | getSize () const =0 |
| returns the size of a MAC in bytes. | |
| virtual E_MACType | macType () const =0 |
| returns the type of MAC algorithm computed by this object | |
| virtual const char * | getDefinedTerm () const =0 |
| returns the DICOM identifier for this MAC algorithm | |
Definition at line 45 of file simac.h.
|
||||||||||||
|
feeds data into the MAC algorithm
Implemented in SiMD5, SiRIPEMD160, and SiSHA1. |
|
|
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().
Implemented in SiMD5, SiRIPEMD160, and SiSHA1. |
|
|
returns the DICOM identifier for this MAC algorithm
Implemented in SiMD5, SiRIPEMD160, and SiSHA1. |
|
|
returns the size of a MAC in bytes.
Implemented in SiMD5, SiRIPEMD160, and SiSHA1. |
|
|
initializes the MAC algorithm.
Implemented in SiMD5, SiRIPEMD160, and SiSHA1. |
|
|
returns the type of MAC algorithm computed by this object
Implemented in SiMD5, SiRIPEMD160, and SiSHA1. |