GetMacAlgorithm method (ILEADDicomDS Interface)
short GetMacAlgorithm(); | |
Overview |
Refer to Working with Digital Signatures. |
Remarks
The GetMacAlgorithm method gets the Message Authentication Code (MAC) Algorithm (0400,0015) used in the creation of the Digital Signature specified by the CurrentElement property. The CurrentElement property must be updated with the corresponding Digital Signatures Sequence Item before calling the method.
The Digital Signatures Sequence Item of a Digital Signature should reference an Item under the MAC Parameters Sequence associated with the Digital Signatures Sequence. The MAC Algorithm (0400,0015) under the referenced MAC Parameters Sequence Item specifies the algorithm used in generating the Message Authentication Code (MAC). The encrypted MAC is the digital signature itself. You can use this method to obtain the value of this Data Element; the expected values are: "RIPEMD160", "SHA1", and "MD5".
In addition to this method, the following methods can be used to get information about the Digital Signature:
See Also