GetMacTransferSyntax method (ILEADDicomDS Interface)
short GetMacTransferSyntax(); | |
Overview |
Refer to Working with Digital Signatures. |
Remarks
The GetMacTransferSyntax method gets the Message Authentication Code (MAC) Calculation Transfer Syntax UID (0400,0010) 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 Calculation Transfer Syntax UID (0400,0010) under the referenced MAC Parameters Sequence Item specifies the Transfer Syntax used in the calculation of 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.
If the Data Set was properly encoded, the return value will be a Transfer Syntax that explicitly includes the Value Representation (VR) and uses Little Endian encoding.
In addition to this method, the following methods can be used to get information about the Digital Signature:
See Also