Is this page helpful?
Returns the Message Authentication Code (MAC) Calculation Transfer Syntax UID (0400,0010) used in the creation of the specified Digital Signature.
#include "ltdic.h"
L_TCHAR* LDicomDS::GetMacTransferSyntax(pSignatureItem)
Pointer to a DICOMELEMENT structure that specifies the Digital Signatures Sequence Item which corresponds to the Digital Signature. This cannot be NULL.
The MAC Calculation Transfer Syntax UID (0400,0010) used in the creation of the specified Digital Signature. The return value can be NULL.
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 function 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 function, the following functions can be used to get information about the Digital Signature:
LDicomDS::GetSignatureDateTime
LDicomDS::GetSignedElementsCount
Win32, x64
For an example, refer to LDicomDS::VerifySignature.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document