L_DicomGetSignatureUID

#include "ltdic.h"

* L_LTDIC_API L_TCHAR L_DicomGetSignatureUID(hDS, pSignatureItem)

HDICOMDS hDS;

/* a DICOM handle */

pDICOMELEMENT pSignatureItem;

/* pointer to a Digital Signatures Sequence Item */

Returns the Digital Signature UID (0400,0100) of the specified Digital Signature.

Parameter

Description

hDS

A DICOM handle.

pSignatureItem

Pointer to a DICOMELEMENT structure that specifies the Digital Signatures Sequence Item which corresponds to the Digital Signature. This cannot be NULL.

Returns

The Digital Signature UID (0400,0100) of the specified Digital Signature. The return value can be NULL.

Comments

The Digital Signature UID (0400,0100) under the Digital Signatures Sequence Item of a Digital Signature should uniquely identify the Digital Signature. You can use this function to obtain the value of this Data Element.

In addition to this function, the following functions can be used to get information about the Digital Signature:

L_DicomGetSignatureDateTime

L_DicomGetSignedElementsCount

L_DicomGetSignedElement

L_DicomGetMacTransferSyntax

L_DicomGetMacAlgorithm

L_DicomSaveCertificate

Required DLLs and Libraries

LTDIC

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

Platforms

Win32, x64

See Also

Functions:

L_DicomGetSignature, L_DicomFindSignature, L_DicomGetSignatureDateTime, L_DicomGetSignedElementsCount, L_DicomGetSignedElement, L_DicomGetMacTransferSyntax, L_DicomGetMacAlgorithm, L_DicomSaveCertificate

Topics:

Working with Digital Signatures

Example

For an example, refer to L_DicomVerifySignature.