Return Value

Return

Meaning

DICOM_SUCCESS

After the method returns, if the StringValueCount property is not 0, the Message Authentication Code (MAC) Algorithm is the first string value in the array specified by the StringValues property. Currently, the possible values are:

 

Value

Meaning

 

RIPEMD160

The MAC Algorithm used is the RACE Integrity Primitives Evaluation (RIPEMD160) algorithm, a 160-bit cryptographic hash function.

 

SHA1

The MAC Algorithm used is the Secure Hash Algorithm (SHA1), a 160-bit cryptographic hash function.

 

MD5

The MAC Algorithm used is the Message Digest – 5 (MD5) algorithm, which takes as input a message of arbitrary length and produces a 128-bit "message digest".

DICOM_ERROR_MEMORY

Failed to allocate memory.