#include "ltdic.h"
L_LTDIC_API pDICOMELEMENT L_DicomGetSignedElement(hDS, pSignatureItem, uIndex)
Returns a pointer to the signed Data Element at the specified index.
A DICOM handle.
Pointer to a DICOMELEMENT structure that specifies the Digital Signatures Sequence Item which corresponds to the Digital Signature. This cannot be NULL.
Value that represents the index of the required signed Data Element. This should be a number from 0 to L_DicomGetSignedElementsCount(pSignatureItem) minus 1.
Pointer to the DICOMELEMENT structure that specifies the required signed Data Element. The return value can be NULL (e.g., if the specified index is invalid).
The Digital Signatures Sequence Item of a Digital Signature should reference an Item under the Message Authentication Code (MAC) Parameters Sequence associated with the Digital Signatures Sequence. The Data Elements Signed (0400,0020) under the referenced MAC Parameters Sequence Item specifies the Tags of the Data Elements covered by the Digital Signature. These Data Elements should be located at the same level as the MAC Parameters Sequence and the Digital Signatures Sequence.
The L_DicomGetSignedElementsCount function returns the number of signed Data Elements as specified by the Data Elements Signed (0400,0020). The L_DicomGetSignedElement function searches the level at which the MAC Parameters Sequence appears for the Data Element with the Tag determined by the passed index and returns a pointer to the Data Element if it does exist; if it does not exist, the function returns NULL.
Note: In addition to the Data Elements specified by the Data Elements Signed (0400,0020), certain Data Elements under the Digital Signatures Sequence Item are always covered by the Digital Signature.
The following functions can also be used to get information about the Digital Signature:
Required DLLs and Libraries
Win32, x64
For an example, refer to L_DicomVerifySignature.
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