33 #include "dcmtk/config/osconfig.h" 34 #include "dcmtk/dcmsign/sitypes.h" 75 virtual unsigned long getSize()
const = 0;
80 virtual E_MACType
macType()
const = 0;
virtual E_MACType macType() const =0
returns the type of MAC algorithm computed by this object
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 lar...
virtual unsigned long getSize() const =0
returns the size of a MAC in bytes.
virtual OFCondition initialize()=0
initializes the MAC algorithm.
virtual ~SiMAC()
destructor
a base class for all classes that implement hash functions.
SiMAC()
default constructor
virtual OFCondition digest(const unsigned char *data, unsigned long length)=0
feeds data into the MAC algorithm
virtual const char * getDefinedTerm() const =0
returns the DICOM identifier for this MAC algorithm
General purpose class for condition codes.